[Mono-bugs] [Bug 80249][Maj] Changed - [GMCS] incorrect compilation of foreach

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Wed Dec 13 15:51:40 EST 2006

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 lupus at ximian.com.


--- shadow/80249	2006-12-13 15:37:11.000000000 -0500
+++ shadow/80249.tmp.24023	2006-12-13 15:51:40.000000000 -0500
@@ -102,6 +102,16 @@
 InvalidCast or NotImplemented
 So, we can fix it but that we will be incompatible with csc.
+------- Additional Comments From lupus at ximian.com  2006-12-13 15:51 -------
+Marek, thanks for checking. I reduced the test from similar code in
+ironpython. Please download version 1.1 alpha 1 from
+http://www.codeplex.com/IronPython. Compile with gmcs (in Src make
+CSC=gmcs, change mkdir to mkdir -p in the makefile). Run mono ipy.exe
+and get the crash. Take the Bin package and it will work.
+The issue is in the IronPython.Runtime.Types.DynamicType.GetAttrNames
+method. The sample code matches that method and the generated code in
+the csc-compiled bin calls the generic method.

More information about the mono-bugs mailing list