[Mono-bugs] [Bug 63572][Nor] New - wrong CS8003 error

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 20 Aug 2004 18:55:56 -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 marek.safar@seznam.cz.

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

--- shadow/63572	2004-08-20 18:55:56.000000000 -0400
+++ shadow/63572.tmp.1632	2004-08-20 18:55:56.000000000 -0400
@@ -0,0 +1,36 @@
+Bug#: 63572
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: marek.safar@seznam.cz               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: wrong CS8003 error
+
+class Sample {
+    const Sample constant = null;
+
+    public static void Main () {}
+}
+
+
+Actual Results:
+
+cs1.cs(2) error CS8003: Constant type is not valid (only system types are
+allowe
+d)
+Compilation failed: 1 error(s), 0 warnings
+
+
+Expected Results:
+
+Compilation succeeded