http://d.puremagic.com/issues/show_bug.cgi?id=7178
Summary: Segfault with import of invalid template Product: D Version: D2 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: rob...@octarineparrot.com --- Comment #0 from Robert Clipsham <rob...@octarineparrot.com> 2011-12-28 18:34:52 GMT --- a.d: ---- static if(is(typeof({import typecons;}()))){ } ---- typecons.d: ---- template populate(overloads...) { mixin populate!(.contents); } public mixin populate!int; ---- With the above code, dmd segfaults when using "dmd -c a.d". While typecons.d is invalid, a.d is valid, and it should compile regardless of the validity of typecons. Note that this can probably be triggered with valid code in typecons.d as it was reduced from std.typecons. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------