[Mono-devel-list] overriding return type

Miguel de Icaza miguel at ximian.com
Sun Jul 27 19:47:04 EDT 2003


Hello,


> I ask the list again:  would you be willing to see the compiler changed in 
> such a way?  It appears to be a trivial piece of code which would break 
> nothing.

There are plenty of places where I would myself like to see the
compiler/class libraries be different, and improve upon what they have
built (string operations, enumerator interfaces on StreamReaders), and
they are almost all two to three line changes.

The problem is that the result is no longer compatible with what people
expect and introduces an incompatibility.  For example code compiled
with Mono wont compile with other compilers.

The proper path here is to convince Microsoft of this change;  If they
get their compiler to support this, we will add this support, but I dont
plan on breaking the interface.

Miguel



More information about the Mono-devel-list mailing list