D-Programming-Language/dmd — pull request #1580 by 9rnsr (2013-01-29 17:00:56+00:00)
Title: Issue 9423 - Missed conversion of lambda literal with ref argument

http://d.puremagic.com/issues/show_bug.cgi?id=9423

This is similar to [bug 8496](http://d.puremagic.com/issues/show_bug.cgi?id=8496), a lambda linkage and parameter storage classes should be inferred from its context as well.