[Mono-bugs] [Bug 35457][Nor] New - mcs doesn't report errors of type CS0073

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
11 Dec 2002 18:07:05 -0000


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 bugbuddy-import@ximian.com.

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

--- shadow/35457	Wed Dec 11 13:07:05 2002
+++ shadow/35457.tmp.12692	Wed Dec 11 13:07:05 2002
@@ -0,0 +1,77 @@
+Bug#: 35457
+Product: Mono/MCS
+Version: unspecified
+OS: GNU/Linux [Other]
+OS Details: 
+Status: UNCONFIRMED   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+Component: Misc
+AssignedTo: triage@ximian.com                            
+ReportedBy: bugbuddy-import@ximian.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs doesn't report errors of type CS0073
+
+Package: Mono/MCS
+Priority: Normal
+Version: CVS Dec-10-2002
+Synopsis: mcs doesn't report errors of type CS0073
+Bugzilla-Product: Mono/MCS
+Bugzilla-Component: Misc
+
+Description:
+Description of Problem:
+
+mcs doesn't report errors of type CS0073.
+
+
+Steps to reproduce the problem:
+
+Although the following code will not compile and an error will be
+detected in the correct line, the error:
+
+jaime@intifada:~/src/mono/mcs/errors$ mcs cs0073.cs
+syntax error, expecting OPEN_BRACE
+cs0073.cs (9,18), Token: SEMICOLON   : Parsing error 
+Mono.CSharp.yyParser.yyException: irrecoverable syntax error
+in <0x006fa> 00 Mono.CSharp.CSharpParser:yyparse
+(Mono.CSharp.yyParser.yyInput)
+in <0x0006f> 00 Mono.CSharp.CSharpParser:parse ()
+
+error CS5001: Program cs0073.exe does not have an entry point defined
+Compilation failed: 1 error(s), 0 warnings
+
+is not the appropiate.
+
+Use this code (that is mcs/errors/cs0073.cs
+
+// cs0073.cs: An add or remove accessor must have a body.
+// Line: 9
+
+using System;
+
+class ErrorCS0073 {
+        delegate void Handler ();
+        event Handler OnFoo {
+                add;
+                remove {
+                        OnFoo -= value;
+                }
+        }
+        public static void Main () {
+        }
+}
+
+
+
+
+
+Unknown reporter: jaime@gnome.org, changed to bugbuddy-import@ximian.com.
+Setting qa contact to the default for this product.
+   This bug either had no qa contact or an invalid one.
+
+