[Issue 10605] New: Lambda grammar is not sufficient
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jul 10 21:55:55 PDT 2013
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: nobody at puremagic.com
ReportedBy: k.hara.pg at gmail.com
--- Comment #0 from Kenji Hara <k.hara.pg at gmail.com> 2013-07-10 21:55:53 PDT ---
From: http://forum.dlang.org/post/hrjpqrzfcdyghcxbiiwt@forum.dlang.org
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: -------
More information about the Digitalmars-d-bugs
mailing list