http://d.puremagic.com/issues/show_bug.cgi?id=8835
Summary: dmd: module.c:829: void Module::semantic3(): Assertion `semanticstarted == 2' failed. Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: major Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: jens.k.muel...@gmx.de --- Comment #0 from jens.k.muel...@gmx.de 2012-10-17 06:31:13 PDT --- The following code import std.stdio; void main() { import std.file; } crashes with dmd: module.c:829: void Module::semantic3(): Assertion `semanticstarted == 2' failed. when compiling with -release -noboundscheck -inline This is Linux. $ dmd | head -1 DMD64 D Compiler v2.060 I'm sorry for not having a better test case. As a work around. Moving import outside main fixes the problem. Alternatively, you can avoid it by removing either -release, -noboundscheck, or -inline when compiling. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------