[Mono-bugs] [Bug 76784][Wis] New - mjs miscompile switch statement which contains and Assigment as expression.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Nov 21 21:34:56 EST 2005


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 cnataren at novell.com.

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

--- shadow/76784	2005-11-21 21:34:56.000000000 -0500
+++ shadow/76784.tmp.31897	2005-11-21 21:34:56.000000000 -0500
@@ -0,0 +1,49 @@
+Bug#: 76784
+Product: Mono: Compilers
+Version: 1.0
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: JScript
+AssignedTo: cesar at ciencias.unam.mx                            
+ReportedBy: cnataren at novell.com               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mjs miscompile switch statement which contains and Assigment as expression.
+
+Description of Problem:
+
+mjs does not handle properly assignment expression inside a switch
+statement expression. 
+
+Steps to reproduce the problem:
+Compile the little code provided.
+
+Actual Results:
+cesar at itaca:~/mono/backup/mcs/class/Microsoft.JScript/Test/Mozilla> mjs bug.js
+Compilation succeeded
+cesar at itaca:~/mono/backup/mcs/class/Microsoft.JScript/Test/Mozilla> mono
+bug.exe
+
+** ERROR **: Invalid IL code at IL0022 in JScript 0:Global Code ():
+IL_0022: stloc.0
+
+
+aborting...
+Aborted
+
+
+Expected Results:
+end cleanly.
+
+How often does this happen? 
+Always.
+
+Additional Information:
+
+Mon Nov 21 19:49:46 CST 2005


More information about the mono-bugs mailing list