[Mono-bugs] [Bug 72149][Wis] Changed - ilasm croaks on duplicate symbols in .locals init (patch included)
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 firstname.lastname@example.org.
--- 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 @@
Product: Mono: Compilers
Severity: 000 No more required
Component: IL assembler
@@ -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 email@example.com 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.