[Issue 19869] `PrimaryExpression` allows incorrect forms of function literals

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 23 13:47:54 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=19869

--- Comment #2 from Dlang Bot <dlang-bot at dlang.rocks> ---
@ntrel created dlang/dlang.org pull request #3350 "[spec] Fix Issue 19869 -
`FunctionLiteral` allows incorrect forms" mentioning this issue:

- [spec] Fix Issue 19869 - `FunctionLiteral` allows incorrect forms

  SpecifiedFunctionBody allows `do` and contracts.
  https://dlang.org/spec/function.html#SpecifiedFunctionBody

https://github.com/dlang/dlang.org/pull/3350

--


More information about the Digitalmars-d-bugs mailing list