http://d.puremagic.com/issues/show_bug.cgi?id=8404
Summary: Importing the enclosing package of a module will crash dmd instead of generating errors. Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: overkill9...@gmail.com --- Comment #0 from Andrew G. Crowell <overkill9...@gmail.com> 2012-07-21 12:13:16 PDT --- Make a file called "mod.d" inside of folder "pkg" with these contents: module pkg.mod; import pkg; When running this under DMD 2.059 on Windows 7 (and possibly other platforms, I haven't checked): dmd mod.d This crashes the compiler, instead of giving error output. I don't know exactly where it is happening in the code, because I couldn't retrieve the debug symbols when I launched VS2010's debugger, but the disassembly tells me that some piece of code is trying to indirect [ecx] when ecx=0x00000000 (a null pointer dereference). -- Andrew G. Crowell -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------