[Mono-bugs] [Bug 428191] Compiler crashes when using nested lambdas within generic method
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Sep 21 14:11:57 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=428191
User mono at e-tobi.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=428191#c1
--- Comment #1 from Tobias Grimm <mono at e-tobi.net> 2008-09-21 12:11:56 MDT ---
I could simplify the test case a little bit more:
using System;
public class MainProgram
{
public static void Main()
{
}
public void AnyMethod<T>()
{
Action outerAction = () =>
{
string aString = "aString";
Action<string> innerAction = innerActionParam =>
innerActionParam.Contains(aString);
};
}
}
One thing to note: If call Contains() with "aString" instead of aString, then
the compiler doesn't crash.
--
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.
More information about the mono-bugs
mailing list