[Issue 19869] `PrimaryExpression` allows incorrect forms of function literals
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue May 14 00:59:45 UTC 2019
https://issues.dlang.org/show_bug.cgi?id=19869
--- Comment #1 from Basile-z <b2.temp at gmx.com> ---
BodyStatement is probably for
https://dlang.org/spec/function.html#SpecifiedFunctionBody
There are two options:
1. The easy way, remove the rule
2. Fix the compiler to allow `FunctionContractsopt SpecifiedFunctionBody` as
subrule of FunctionLiteralBody
--
More information about the Digitalmars-d-bugs
mailing list