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

--- Comment #0 from 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:
------- You are receiving this mail because: -------

Reply via email to