[Issue 18343] New: Crash when importing empty module and package in subfolder

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Jan 31 10:33:25 UTC 2018


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

          Issue ID: 18343
           Summary: Crash when importing empty module and package in
                    subfolder
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: default_357-line at yahoo.de

Steps to reproduce:

mkdir -p a/b
touch a/b/x.d
touch a/b/package.d
echo "import a.b, a.b.x;" > bug.d
dmd bug.d

Expected:

Some error.

Actual:

DMD segfaults.

--


More information about the Digitalmars-d-bugs mailing list