[Mono-bugs] [Bug 24117] New - mcs doesn't handle literal initialization of bool arrays
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
2 May 2002 13:34:13 -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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=24117
--- shadow/24117 Thu May 2 09:34:13 2002
+++ shadow/24117.tmp.22655 Thu May 2 09:34:13 2002
@@ -0,0 +1,34 @@
+Bug#: 24117
+Product: Mono/MCS
+Version: unspecified
+OS: other
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: Misc
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: lupus@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: mcs doesn't handle literal initialization of bool arrays
+
+The following program doesn't compile with mcs:
+
+class T {
+ static int Main() {
+ bool[] results = new bool[]
+ {true, false, true, false, true, false, true};
+ return 0;
+ }
+}
+
+It dies with the following exception:
+** (process:18797): WARNING **: unhandled exception System.Exception:
+"Unrecognized type in MakeByteBlob"
+in Mono.CSharp.ArrayCreation:MakeByteBlob ()
+in Mono.CSharp.ArrayCreation:EmitStaticInitializers ()
+...