[Issue 8005] New: Lambda with parameter type inference should consider default args

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Apr 29 18:16:18 PDT 2012


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

           Summary: Lambda with parameter type inference should consider
                    default args
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: k.hara.pg at gmail.com


--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2012-04-29 18:17:27 PDT ---
This code should compile.

auto n = (a, int n = 10){ return n; }(10);

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list