[Mono-bugs] [Bug 36376][Nor] Changed - mcs produces different output for enums than csc
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
Sun, 12 Jan 2003 07:15:03 -0500 (EST)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=36376
--- shadow/36376 Sat Jan 11 18:46:52 2003
+++ shadow/36376.tmp.30832 Sun Jan 12 07:15:03 2003
@@ -1,13 +1,13 @@
Bug#: 36376
Product: Mono/MCS
Version: unspecified
OS: unknown
OS Details:
-Status: REOPENED
-Resolution:
+Status: RESOLVED
+Resolution: NOTABUG
Severity: Unknown
Priority: Normal
Component: Misc
AssignedTo: mono-bugs@ximian.com
ReportedBy: mathpup@mylinuxisp.com
QAContact: mono-bugs@ximian.com
@@ -108,6 +108,19 @@
about this output from mcs, it is conceivable that future versions might be
more strict about these declarations, so it seems reasonable to fix this
problem. And, of course, there is the issue that it's best to match csc's output
where possible.
+
+------- Additional Comments From lupus@ximian.com 2003-01-12 07:15 -------
+From Partition II, 13.3:
+For binding purposes (e.g. for locating a method definition from the
+method reference used to call it) enums
+shall be distinct from their underlying type.
+For all other purposes, including verification and execution of
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+code, an unboxed enum freely interconverts with its underlying type.
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+The value for the static field is an unboxed enum type.
+Jeroen Frijters agrees to this interpretation, too.
+The point is doubly moot since mcs now produces the same output as csc.