[Issue 17991] New: ICE with imports without module

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Nov 18 19:22:39 UTC 2017


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

          Issue ID: 17991
           Summary: ICE with imports without module
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: temtaime at gmail.com

Use empty files:

a/b/package.d
a/b/c.d


And one file:
a/e/f.d
import a.b, a.b.c;

Then it will crash.
If module a.b; and module a.b.c; are added to the files then it'll work

--


More information about the Digitalmars-d-bugs mailing list