[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 18:11:30 -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-03 17:42:08.000000000 -0500
+++ shadow/72149.tmp.21905	2005-02-03 18:11:30.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 72149
 Product: Mono: Compilers
 Version: 1.1
 OS: All
 OS Details: 
-Status: RESOLVED   
-Resolution: DUPLICATE
+Status: REOPENED   
+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
@@ -104,6 +104,17 @@
 However I think that just deleting the local and then readding the new
 one would be sufficient, as then the new type would be recorded.  For
 this to work though we need to process each block completely before
 moving to the next block.
 
 
+
+------- Additional Comments From monobugs@taggedtype.net  2005-02-03 18:11 -------
+I agree... Your problem is that at the moment it appears that the c#
+compiler does not do scopes within methods (you should ilasm and
+decompile your example in ms.net to see the code it produces), while
+mine is that duplicate symbols at the same scope are allowed to exist
+in the .net world but not in the mono world. As I have been told, this
+is a bug.
+
+I urge you to check your example in .NET and actually use the locals
+within the scopes they are declared.