[Mono-bugs] [Bug 72149][Wis] New - ilasm croaks on duplicate symbols in .locals init (patch included)

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 2 Feb 2005 19:59:40 -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 monobugs@taggedtype.net.

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

--- shadow/72149	2005-02-02 19:59:40.000000000 -0500
+++ shadow/72149.tmp.8483	2005-02-02 19:59:40.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 72149
+Product: Mono: Compilers
+Version: 1.1
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 000 No more required
+Priority: Wishlist
+Component: IL assembler
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: monobugs@taggedtype.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: ilasm croaks on duplicate symbols in .locals init (patch included)
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+Deviation from MS ilasm. If .locals init (...) has duplicate symbols, mono
+ilasm croacks because it assumes symbols are unique.
+
+Patch attached to implement conformant behaviour 
+
+Steps to reproduce the problem:
+1. ilasm test.msil # attached
+
+Actual Results:
+
+Croak
+
+Expected Results:
+
+No croak
+
+How often does this happen? 
+
+Everytime
+
+Additional Information:
+
+Thanks go to Fawad Halim as well
+
+Now while it makes sense that symbols are unique, ms ilasm doesn't think
+so. So we need to conform.