D-Programming-Language/dmd — pull request #789 by 9rnsr (2012-03-05 14:28:37+00:00)
Title: Refactor lambda inference and fix related issues

For more robust lambda inference mechanism.

This also fixes following issues.
Issue 7288 - ICE(toir.c): with lambda return + auto
Issue 7499 - ICE(cast.c line 1495) with lambda array
Issue 7649 - Bad lambda inference in default function argument