https://bugzilla.novell.com/show_bug.cgi?id=412134
Summary: Compiler regression in handling implicit enum
conversions
Product: Mono: Compilers
Version: 2.0
Platform: i686
OS/Version: Linux
Status: NEW
Severity: Major
Priority: P5 - None
Component: C#
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
CC: [EMAIL PROTECTED]
Found By: ---
Created an attachment (id=229968)
--> (https://bugzilla.novell.com/attachment.cgi?id=229968)
test case
This regression exists in both 2.0 branch and svn HEAD.
Attached is a test case (cut from production code, but quite minimalistic).
Compile with gmcs.
Actual result:
CashierShift.cs(44,45): error CS0019: Operator `==' cannot be applied to
operands of type `CashRegister.Entities.CashierShiftStatus' and
`CashRegister.Entities.CashierShiftStatus.Code'
Compilation failed: 1 error(s), 0 warnings
Expected result (on mono 1.9.1, MS.Net):
compiles without errors
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs