https://bugzilla.novell.com/show_bug.cgi?id=381559
User [EMAIL PROTECTED] added comment https://bugzilla.novell.com/show_bug.cgi?id=381559#c1 Brian Luczkiewicz <[EMAIL PROTECTED]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[EMAIL PROTECTED] --- Comment #1 from Brian Luczkiewicz <[EMAIL PROTECTED]> 2008-04-18 19:13:25 MST --- This fixes it for me and doesn't break tests as best as I can tell. --- base-1.9/mcs/mcs/expression.cs 2008-02-20 18:10:42.000000000 -0500 +++ mono-1.9/mcs/mcs/expression.cs 2008-04-18 21:08:32.000000000 -0400 @@ -3701,13 +3701,10 @@ source, loc); ILGenerator ig = ec.ig; - prepared = prepare_for_load; + + prepared = prepare_for_load && !Variable.HasInstance; Variable.EmitInstance (ec); - if (prepare_for_load) { - if (Variable.HasInstance) - ig.Emit (OpCodes.Dup); - } if (IsRef) Variable.Emit (ec); -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
