Summary: ICE(glue.c): type inference of invalid template
                    instantiation from is(typeof())
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from Don <> 2011-09-12 05:54:01 PDT ---
This is a bug with the gagging system.

auto quz(X)(X y)
    X q = "abc";
    return y;

static assert(!is(typeof(quz!int(6))));

Two additional tests:
// It should also be false the second time;
static assert(!is(typeof(quz!int(18))));
// This should print error messages.
int bolog = quz!int(27);

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to