Summary: Direct call of function literal should consider
                    default arguments
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: regression
          Priority: P2
         Component: DMD

--- Comment #0 from Kenji Hara <> 2012-04-29 18:15:35 PDT ---
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

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to