[Mono-bugs] [Bug 410666] REGRESSION: anonymous methods and capturing variables
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Jul 20 23:19:48 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=410666
User martin at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=410666#c3
--- Comment #3 from Martin Baulig <martin at novell.com> 2008-07-20 21:19:48 MDT ---
The debugger is crashing on this:
=====
using System;
delegate int Foo ();
public class X
{
public static void Test<R> (R r, int a)
{
Foo foo = delegate {
Console.WriteLine (a);
Console.WriteLine (r);
return 3;
};
a -= foo ();
}
public static void Main ()
{
Test (500L, 2);
}
}
=====
If you compile the file with gmcs 106030, it works fine.
Getting coffee and investigating more ....
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list