http://d.puremagic.com/issues/show_bug.cgi?id=8089
Summary: Importing package as module causes segfault Product: D Version: unspecified Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: jmdavisp...@gmx.com --- Comment #0 from Jonathan M Davis <jmdavisp...@gmx.com> 2012-05-11 23:48:23 PDT --- I decide that I'd look at the possibility of implementing something along the lines of DIP 15 or 16 and ran into this little bit of fun. If you have the modules prog.d ------ import wasmodule; void main() {} ------ and wasmodule/module1.d ------------------- module wasmodule.module1; ------------------- you get a segfault. If you change the first import to import wasmodule.module1; it's fine. Apparently the compiler can't handle trying to import a package as if it were module (obviously, it should error out in that case, but segfaulting is clearly not acceptable). -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------