[Mono-bugs] [Bug 70571][Blo] New - mjs generates incorrect CIL.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 14 Dec 2004 20:26:19 -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 cesar@ciencias.unam.mx.

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

--- shadow/70571	2004-12-14 20:26:18.000000000 -0500
+++ shadow/70571.tmp.32605	2004-12-14 20:26:18.000000000 -0500
@@ -0,0 +1,34 @@
+Bug#: 70571
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Blocker
+Component: JScript
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: cesar@ciencias.unam.mx               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mjs generates incorrect CIL. 
+
+mjs generates incorrect code for expression that involves the creation of a
+new object followed by a field initialization.
+
+1. Test case: See attachment.
+
+2. How to compile the test: Save the test case, compile with: mjs test.js
+
+3. How to run the test: run with: mono test.exe, or If you have another
+runtime support assembly that's not Mono's sitting at /tmp, use:
+MONO_PATH=/tmp mono test.exe
+
+4. Version: current SVN.
+
+5. Expected result: bar
+
+6. Actual result: ** ERROR **: Invalid IL code