http://d.puremagic.com/issues/show_bug.cgi?id=3685
Summary: dmd silently exits on valid code Product: D Version: 1.054 Platform: Other OS/Version: Linux Status: NEW Keywords: ice-on-valid-code, rejects-valid Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: nfx...@gmail.com --- Comment #0 from nfx...@gmail.com 2010-01-07 07:20:36 PST --- There's two things wrong with this: 1. it rejects valid code 2. it doesn't output an error message, it only does exit(1) //fails to compile with 1.055 (dmd silently exits) //succeeds with 1.053 (successfully compiles) void x(T)() { static assert(false); } template y(T) { const bool y = is(typeof( { x!(T)(); } )); } static assert(!y!(int)); -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------