https://issues.dlang.org/show_bug.cgi?id=13553
Issue ID: 13553
Summary: allow to omit parenthesis for nullary lambdas
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
Severity: enhancement
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
Requiring empty parenthesis for lambda expressions without arguments is
superfluous syntax.
onEvent(() => doSomething());
onEvent(=> doSomething());
--
