[Mono-bugs] [Bug 59283][Nor] New - Invalid: "error CS0165: Use of unassigned local variable" in MCS
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Fri, 28 May 2004 19:20:03 -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 sebastien@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=59283
--- shadow/59283 2004-05-28 19:20:03.000000000 -0400
+++ shadow/59283.tmp.23013 2004-05-28 19:20:03.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 59283
+Product: Mono: Compilers
+Version: unspecified
+OS: All
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: sebastien@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Invalid: "error CS0165: Use of unassigned local variable" in MCS
+
+Description of Problem:
+MCS (CVS just before beta2) can stop with error CS0165 even when the
+variable can't be used without being initialized.
+
+
+Steps to reproduce the problem:
+1. Compile the attached code
+
+
+Actual Results:
+/home/poupou/mcs1.cs(18) error CS0165: Use of unassigned local variable
+`digitValue'
+Compilation failed: 1 error(s), 0 warnings
+
+
+Expected Results:
+No error (like CSC)
+
+
+How often does this happen?
+Always