www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 18343] New: Crash when importing empty module and package in

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 puremagic.com
          Reporter: default_357-line 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.

--
Jan 31 2018