[Mono-bugs] [Bug 65816][Nor] New - mcs doesn't properly resolve parameter names on method definitions

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 13 Sep 2004 04:22:01 -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 kjambunathan@novell.com.

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

--- shadow/65816	2004-09-13 04:22:01.000000000 -0400
+++ shadow/65816.tmp.23585	2004-09-13 04:22:01.000000000 -0400
@@ -0,0 +1,39 @@
+Bug#: 65816
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: kjambunathan@novell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs doesn't properly resolve parameter names on method definitions
+
+Description of Problem:
+The attached test case fails to compile with mcs. However it compiles fine
+with csc.
+
+
+Actual Results:
+bug.cs(14) error CS0051: Inconsistent accessibility: parameter type
+`MonoBASIC.Token' is less accessible than method `HandleToken'
+Compilation failed: 1 error(s), 0 warnings
+
+Expected Results:
+Successful compilation.
+
+
+How often does this happen? 
+Every time
+
+
+Additional Information:
+mbas uses a simialr construct. 
+See mcs/mbas/mb-parser.jay. Look for the method HandleToken() at line 260.