[Issue 17638] A pragma inside a function body is seen as a statement

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 12 06:24:26 PDT 2017


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

--- Comment #1 from anonymous4 <dfj1esp02 at sneakemail.com> ---
This can't be a declaration, because empty declaration can't have attributes:
---
static;
---
Error: declaration expected following attribute, not ';'

--


More information about the Digitalmars-d-bugs mailing list