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

           Summary: Lambda grammar is not sufficient
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: websites
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Kenji Hara <[email protected]> 2013-07-10 21:55:53 PDT ---
From: http://forum.dlang.org/post/[email protected]

Today, compiler accepts following lambda code, but the syntax is not followed
by language specification.

void main()
{
    auto fp = function (int a) => a;
    auto dg = delegate (int a) => a;
}

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

Reply via email to