[Mono-bugs] [Bug 410666] New: REGRESSION: anonymous methods and capturing variables
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Fri Jul 18 23:45:59 EDT 2008
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: msafar at novell.com
ReportedBy: martin at novell.com
QAContact: mono-bugs at lists.ximian.com
Found By: Development
Martin Baulig <martin at novell.com> 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:
====
gondor at gondor:debugger$ gmcs ./test/src/TestAnonymous.cs
gondor at gondor: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]
gondor at gondor: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.
More information about the mono-bugs
mailing list