D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 7761 - lambda expression doesn't parse attributes
Summary: lambda expression doesn't parse attributes
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P2 normal
Assignee: No Owner
URL:
Keywords: pull, rejects-valid
Depends on:
Blocks:
 
Reported: 2012-03-24 08:53 UTC by Martin Nowak
Modified: 2012-03-24 23:36 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Martin Nowak 2012-03-24 08:53:55 UTC
cat > bug.d << CODE
enum dg = (int a) pure => 2 * a;
CODE

dmd -c bug

--------

http://dlang.org/expression.html#Lambda