[Mono-bugs] [Bug 442122] Better handling of read-only method variables which appear in closures.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Oct 9 07:03:29 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=442122

User msafar at novell.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=442122#c4


Marek Safar <msafar at novell.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO
      Info Provider|                            |lunchtimemama at gmail.com




--- Comment #4 from Marek Safar <msafar at novell.com>  2009-10-09 05:03:29 MDT ---
static void Foo (int i)
{
   Func<int, bool> f = (a) => i;
}

The ldarg.0 in context Foo loads different variable than ldarg.0 in context of
lambda.

-- 
Configure bugmail: http://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