[Mono-bugs] [Bug 61204][Wis] New - Incorrect behavior if const field and default value have different types

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 6 Jul 2004 12:36:35 -0400 (EDT)


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 bmaurer@users.sf.net.

http://bugzilla.ximian.com/show_bug.cgi?id=61204

--- shadow/61204	2004-07-06 12:36:35.000000000 -0400
+++ shadow/61204.tmp.13375	2004-07-06 12:36:35.000000000 -0400
@@ -0,0 +1,28 @@
+Bug#: 61204
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: bmaurer@users.sf.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Incorrect behavior if const field and default value have different types
+
+(from bug 60933)
+
+------- Additional Comments From Paolo Molaro 2004-07-06 07:15 -------
+
+...
+
+And since you're working in this area: the spec says that the type of
+the constant may not match the type of the field. This means that the
+code was and remains incorrect: please write the test case in IL and
+change the code to handle this case.