[Mono-bugs] [Bug 35957][Nor] New - mcs compile "params" misformed expression.

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
19 Dec 2002 21:02:27 -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=35957

--- shadow/35957	Thu Dec 19 16:02:27 2002
+++ shadow/35957.tmp.6930	Thu Dec 19 16:02:27 2002
@@ -0,0 +1,71 @@
+Bug#: 35957
+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: cesar@ciencias.unam.mx               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mcs compile  "params" misformed expression.
+
+Package: Mono/MCS
+Priority: Normal
+Version: cvs version from Dec. 18, 2002
+Synopsis: mcs compile  "params" misformed expression.
+Bugzilla-Product: Mono/MCS
+Bugzilla-Component: Misc
+
+Description:
+Description of Problem:
+the params parameter  have to be a single dimensional array.
+
+Steps to reproduce the problem:
+Compile code attached.
+
+
+Actual Results:
+mcs compile the code without problems.
+
+Expected Results:
+cs0225.cs(7,21): error CS0225: The params parameter must be a single
+dimensional array
+
+
+How often does this happen?
+always.
+
+Additional Information:
+I add code sample and add it to mcs/errors, too.
+
+
+//
+// cs0225.cs: params parameter have to be a single dimensional array.
+// 
+
+public class X
+{
+	public static void Test (params int a)
+	{
+	}
+
+	public static void Main()
+	{
+		Test (1);
+	}
+}
+
+
+
+
+Setting qa contact to the default for this product.
+   This bug either had no qa contact or an invalid one.
+
+