[Mono-bugs] [Bug 69233][Nor] New - [GMCS] generics testcase causes runtime assert

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 8 Nov 2004 12:02:27 -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 vargaz@gmail.com.

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

--- shadow/69233	2004-11-08 12:02:27.000000000 -0500
+++ shadow/69233.tmp.14658	2004-11-08 12:02:27.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 69233
+Product: Mono: Runtime
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: martin@ximian.com                            
+ReportedBy: vargaz@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: [GMCS] generics testcase causes runtime assert
+
+Compile the following testcase with 2.0 csc or gmcs:
+
+using System;
+
+public class Tests {
+
+	public static void Main (String[] args) {
+		char[] arr = {'a', 'b', 'b', 'c', 'c', 'c', 'd', 'd'};
+		Array.BinarySearch(arr, 'e');
+	}
+}
+
+If you try to run it, the runtime says:
+** ERROR **: unknown type 0x1e in check_call_signature
+
+This crash shows up in the NUnit unit tests for System.Array.