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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 3 Feb 2005 13:55:37 -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.


--- shadow/72149	2005-02-02 20:05:38.000000000 -0500
+++ shadow/72149.tmp.19562	2005-02-03 13:55:37.000000000 -0500
@@ -66,6 +66,15 @@
 A consequence of this behaviour that .net employ is the following:
 if (duplicate local symbol X exists && X is used in source)
   The first stack slot where symbol X was declared is the one used
 This behaviour is likely due to the one pass parsing.
+------- Additional Comments From monobugs@taggedtype.net  2005-02-03 13:55 -------
+Ladies: The attached test case exhibits a test case for which mono
+ilasm barfs and .net doesnt. 
+Witht he patch, you get the exact same behaviour. 
+Note that the patch ONLY comes into effect when there are duplicate
+local variables. Otherwise its business as usual.