[Mono-dev] Regression in (g)mcs handling of implicit conversion operators

Leszek Ciesielski skolima at gmail.com
Fri Jun 6 06:00:28 EDT 2008


The bugs

https://bugzilla.novell.com/show_bug.cgi?id=316290
https://bugzilla.novell.com/show_bug.cgi?id=321782 (dupe)

and probably

https://bugzilla.novell.com/show_bug.cgi?id=321794 (didn't bother to
test this explicitly as it depends on the previous ones)

have emerged again (in svn, last week - still present in HEAD). Mono
compiler ignores implicit conversion to decimal on structs, while it
correctly handles conversions to other types (i.e. int and double).
This results in correct code not compiling (see attachement for what
should compile and still did about 2 weeks ago) and broken code (with
ambigous implicit conversions, e.g. to int and decimal) to compile.

Could we have a test added to prevent this from resurfacing again?

Regards,

Leszek 'skolima' Ciesielski

-- 
MS-DOS user since 5.0
Windows user since 3.11
Linux user since kernel 2.4
Novell Netware user since 2.2
WARCRAFT user since 1.0
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Program.cs
Url: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20080606/935c81b3/attachment-0001.pl 


More information about the Mono-devel-list mailing list