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: [email protected]
          Reporter: [email protected]

DMD 2.071.0:

The following code causes a parse error.

void bar(string x){ }
auto foo(){ import("a.d").bar; }

This should parse.

--

Reply via email to