[Issue 2167] static assert hides template errors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 30 06:34:11 PDT 2008


http://d.puremagic.com/issues/show_bug.cgi?id=2167





------- Comment #2 from 2korden at gmail.com  2008-06-30 08:34 -------
Let me rephrase:

class Templ(T) { this(){ unknown_identifier; } }

void main() {
    static assert(false == is(Templ!(int))); // correctly passes
}

    static assert(false == is(Templ!(int))); // fails, yet they are the same,
the only difference is a scope


-- 



More information about the Digitalmars-d-bugs mailing list