[Issue 16088] Parse error for import expression in statement
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Jun 13 10:03:32 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=16088
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |razvan.nitu1305 at gmail.com
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
Why should it parse? The grammar [1] shows that after the "import" keyword an
identifier is expected not '('. Maybe close as invalid?
[1] https://dlang.org/spec/grammar.html#ImportDeclaration
--
More information about the Digitalmars-d-bugs
mailing list