[Mono-bugs] [Bug 78940][Cos] Changed - Improve error message given when non-declaration statements are found at class scope
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jul 26 07:05:05 EDT 2006
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 rharinath at novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=78940
--- shadow/78940 2006-07-24 16:23:15.000000000 -0400
+++ shadow/78940.tmp.27077 2006-07-26 07:05:05.000000000 -0400
@@ -1,23 +1,23 @@
Bug#: 78940
Product: Mono: Compilers
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
-Priority: Normal
+Severity: Unknown
+Priority: Cosmetic
Component: C#
AssignedTo: rharinath at novell.com
ReportedBy: matt at use.net
QAContact: mono-bugs at ximian.com
TargetMilestone: ---
URL:
Cc:
-Summary: CLR via C#, p367: attached code sample gets a parsing error
+Summary: Improve error message given when non-declaration statements are found at class scope
Steps to reproduce the problem:
1. try to compile attached program using gmcs
Actual Results:
generics.cs(13,4): error CS8025: Parsing error
@@ -27,6 +27,10 @@
should compile and run with same results as specified in the book.
------- Additional Comments From matt at use.net 2006-07-24 16:23 -------
Created an attachment (id=17347)
code sample that gets compile error
+
+------- Additional Comments From rharinath at novell.com 2006-07-26 07:05 -------
+The attached code has executable code embedded in class scope. Yep,
+it would be preferable if the error message was better.
More information about the mono-bugs
mailing list