[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
Wed, 2 Feb 2005 20:05:38 -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:03:29.000000000 -0500
+++ shadow/72149.tmp.8581	2005-02-02 20:05:38.000000000 -0500
@@ -58,6 +58,14 @@
 ------- Additional Comments From monobugs@taggedtype.net  2005-02-02 20:03 -------
 Created an attachment (id=14045)
 Output from both patched mono and .net ilasm (.net thanks to SpigaZ of #mono)
+------- Additional Comments From monobugs@taggedtype.net  2005-02-02 20:05 -------
+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.