[Issue 16088] New: Parse error for import expression in statement
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat May 28 11:47:35 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16088
Issue ID: 16088
Summary: Parse error for import expression in statement
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: nobody at puremagic.com
Reporter: timon.gehr at gmx.ch
DMD 2.071.0:
The following code causes a parse error.
void bar(string x){ }
auto foo(){ import("a.d").bar; }
This should parse.
--
More information about the Digitalmars-d-bugs
mailing list