https://bugzilla.novell.com/show_bug.cgi?id=410666
Summary: REGRESSION: anonymous methods and capturing variables
Product: Mono: Compilers
Version: SVN
Platform: Other
OS/Version: Other
Status: NEW
Severity: Blocker
Priority: P5 - None
Component: C#
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: Development
Martin Baulig <[EMAIL PROTECTED]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flag|
|SHIP_STOPPER+
Created an attachment (id=228893)
--> (https://bugzilla.novell.com/attachment.cgi?id=228893)
debugger/test/src/TestAnonymous.cs - the test case is also in SVN
Compile debugger/test/src/TestAnonymous.cs with gmcs from the Mono 2.0 branch
and try running it:
====
[EMAIL PROTECTED]:debugger$ gmcs ./test/src/TestAnonymous.cs
[EMAIL PROTECTED]:debugger$ mono ./test/src/TestAnonymous.exe
500
Unhandled Exception: System.NullReferenceException: Object reference not set to
an instance of an object
at Test1.X+<Test1>c__AnonStorey1`1[System.Int64].<>m__0 () [0x00000]
at Test1.X.Test1[Int64] (Int64 r, Int32 a) [0x00000]
at Test1.X.Run () [0x00000]
at RunTests.Main () [0x00000]
[EMAIL PROTECTED]:debugger$ mono --verify-all ./test/src/TestAnonymous.exe
Unhandled Exception: System.TypeLoadException: Invalid generic instantiation of
type .<Test1>c__AnonStorey0`1 at 0x001c
at Test1.X.Run () [0x00000]
at RunTests.Main () [0x00000]
====
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs