[Mono-bugs] [Bug 61666][Nor] New - .locals doesn't allow duplicate names in different blocks

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 16 Jul 2004 12:28:52 -0400 (EDT)


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 peter@emailross.com.

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

--- shadow/61666	2004-07-16 12:28:52.000000000 -0400
+++ shadow/61666.tmp.26029	2004-07-16 12:28:52.000000000 -0400
@@ -0,0 +1,45 @@
+Bug#: 61666
+Product: Mono: Compilers
+Version: unspecified
+OS: Debian Woody
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: IL assembler
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: peter@emailross.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: .locals doesn't allow duplicate names in different blocks
+
+Description of Problem:
+  Mono ILasm compiler version 0.28.0.0 (from mono 1.0)
+  aborts on the following il fragment
+    { .locals(string DUPLICATE_LOCAL_NAME) }
+    { .locals(string DUPLICATE_LOCAL_NAME) }
+
+Steps to reproduce the problem:
+1. ilasm duplicate_local.il
+2. mono ./duplicate_local.exe
+
+Actual Results:
+# ilasm duplicate_local.il
+Assembling 'duplicate_local.il' , no listing file, to exe -->
+'duplicate_local.exe'
+
+Error at: line (19) column (28)
+
+***** FAILURE *****
+
+Expected Results:
+# ilasm duplicate_local.il
+# mono ./duplicate_local.exe
+Hello
+Hello
+
+How often does this happen? 
+Every time