[Mono-bugs] [Bug 80749][Nor] Changed - ironpython 1.1a1 doesn't build anymore.

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Feb 12 05:09:13 EST 2007


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 rharinath at novell.com.

http://bugzilla.ximian.com/show_bug.cgi?id=80749

--- shadow/80749	2007-02-11 19:47:48.000000000 -0500
+++ shadow/80749.tmp.2821	2007-02-12 05:09:13.000000000 -0500
@@ -226,6 +226,18 @@
 /home/cvs/mcs/mcs/driver.cs:292
 
 
 ------- Additional Comments From marek.safar at seznam.cz  2007-02-11 16:31 -------
 It looks like the combination of 2 pairs of 2 partial classes corrupts
 the resolving context. I will try to create smaller repro.
+
+------- Additional Comments From rharinath at novell.com  2007-02-12 05:09 -------
+I think it's more to do with field initializers in a partial class.  I
+think the culprit is the 
+
+  EmitContext ec = new EmitContext (this, this, Location, null, null,
+ModFlags);
+
+in DefineFieldInitializer().  It should use resolve contexts based on
+Field or Field.Parent.  Otherwise, the resolve context will be based
+on the first partial part.
+


More information about the mono-bugs mailing list