[Mono-bugs] [Bug 52183][Wis] Changed - MCS gives incorrect error num for `public void static Main ()'

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 16 Dec 2003 13:02:56 -0500 (EST)


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 bmaurer@users.sf.net.

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

--- shadow/52183	2003-12-16 02:58:56.000000000 -0500
+++ shadow/52183.tmp.4824	2003-12-16 13:02:56.000000000 -0500
@@ -1,23 +1,23 @@
 Bug#: 52183
 Product: Mono/Compilers
 Version: unspecified
 OS: unknown
 OS Details: Mandrake 9.1
-Status: RESOLVED   
-Resolution: NOTABUG
-Severity: Unknown
-Priority: Normal
+Status: REOPENED   
+Resolution: 
+Severity: 001 One hour
+Priority: Wishlist
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: cornel@profsys.iasi.rdsnet.ro               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Parser error
+Summary: MCS gives incorrect error num for `public void static Main ()'
 
 Please fill in this template when reporting a bug, unless you know what you are 
 doing. 
  
 Description of Problem: 
  
@@ -79,6 +79,16 @@
 
 ------- Additional Comments From cornel@profsys.iasi.rdsnet.ro  2003-12-16 02:58 -------
 i know the signature of main is not correct (i said that in Expected result 
 section), and i know how it should be. 
 I reported as a bug because the compiler doesn't detect WHAT is wrong with 
 my code, detect that SOMETHING is wrong. 
+
+------- Additional Comments From bmaurer@users.sf.net  2003-12-16 13:02 -------
+Cornel is correct, this is a bug. We are emitting an incorrect error 
+number. As well, the message is not user friendly.
+
+However, I am making the priority Wishlist, because the behavior is 
+pretty minor.
+
+You don't happen to have the exact error number that CSC gives, do 
+you?