[Mono-bugs] [Bug 76438][Wis] New - Wrong text for CS0118 error
message
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Oct 14 10:46:13 EDT 2005
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 sestoft at dina.kvl.dk.
http://bugzilla.ximian.com/show_bug.cgi?id=76438
--- shadow/76438 2005-10-14 10:46:13.000000000 -0400
+++ shadow/76438.tmp.20927 2005-10-14 10:46:13.000000000 -0400
@@ -0,0 +1,47 @@
+Bug#: 76438
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: rharinath at novell.com
+ReportedBy: sestoft at dina.kvl.dk
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: Wrong text for CS0118 error message
+
+Description of Problem:
+
+mcs 1.1.9.1 emits silly message for error CS0118
+
+Steps to reproduce the problem:
+
+Compile this program:
+
+using System;
+
+class Bug16 {
+ public static void Main(String[] args) { }
+
+ public void Expr(Expr e) { }
+}
+
+Actual Results:
+
+Bug16.cs(9,20): error CS0118: `Bug16.Expr' is a `type' but a `type' was
+expected
+
+Expected Results:
+
+Bug16.cs(9,20): error CS0118: `Bug16.Expr' is a `method' but a `type' was
+expected
+
+Additional Information:
+
+MS csc 2.0 beta 2 does the right thing.
More information about the mono-bugs
mailing list