[Mono-bugs] [Bug 43191][Wis] Changed - Missing 649 warning: field will always have a constant value.
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Thu, 27 Nov 2003 01:04:11 -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 miguel@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=43191
--- shadow/43191 2003-07-23 11:53:50.000000000 -0400
+++ shadow/43191.tmp.19126 2003-11-27 01:04:11.000000000 -0500
@@ -11,13 +11,13 @@
AssignedTo: martin@ximian.com
ReportedBy: seguso.forever@tin.it
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: Missing warning/error in mcs
+Summary: Missing 649 warning: field will always have a constant value.
It would be nice if mcs gave a warning (or an error?) whenever you
forget to initialize a readonly member variable.
(This can be done in the constructor or in the variable declaration)
@@ -31,6 +31,9 @@
c(){}
}
warning: readonly fields must be initialized in either the constructor or the class
+
+------- Additional Comments From miguel@ximian.com 2003-11-27 01:04 -------
+The error reported is cs0649 by csc