This code doesn't compile in git head. auto n = (int n = 10){ return n; }(); This regression is introduced by fixing bug 3866. Calling function literal directly is never indirect call, so this is regression IMO.
https://github.com/D-Programming-Language/dmd/pull/913
Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/c62833f09f75091f9fd73edf051c720829513e4b fix Issue 8004 - Direct call of function literal should consider default arguments https://github.com/D-Programming-Language/dmd/commit/aea217c612614d248c412d753ac135e86fad2931 Merge pull request #913 from 9rnsr/fix8004 Issue 8004 - Direct call of function literal should consider default arguments