[Mono-devel-list] some mcs errors fixes
John Luke
john.luke at gmail.com
Mon Oct 4 15:20:36 EDT 2004
Hello,
On Mon, 04 Oct 2004 09:30:41 -0400, Miguel de Icaza <miguel at ximian.com> wrote:
> Hey,
>
> > > I also have noticed some of the cs8*.cs tests seem to be either yield
> > > tests that look incorrect and have equivalent working tests, or
> > > generics tests that pass with gmcs, can someone in the know look at
> > > them?
> >
> > CS8xxxx error numbers are MCS-internal (negative error numbers in the
> > mcs source code). We're sometimes using them where it'd either be hard
> > to report a "real" error or where it's just not implemented yet.
> >
> > So in a perfect world, all these cs8*.cs should go away anyways and be
> > replaced with real errors.
>
> In very few cases, MCS is able to report better errors than Microsoft,
> so we also have a few CS8* to cope with that: it is just a side effect
> of how our compiler is written.
>
Yes, I am aware of the purpose of the 8000 errors. I still think the
generics ones need to be renamed to gcs*.cs (so mcs doesn't
unneccesarily fail them) if they are not already covered by existing
tests. The yield errors really do seem like they are wrong, let me
speak more clearly with a patch. The ChangeLog entry will point you
to the test that I think are duplicates of existing tests (that do
pass).
(Removing people from CC, because I am pretty sure you are all on this list)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: yield_duplicates.patch
Type: application/octet-stream
Size: 2977 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041004/783e8a07/attachment.obj
More information about the Mono-devel-list
mailing list