[Issue 2167] static assert hides template errors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 30 06:17:09 PDT 2008


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


clugdbug at yahoo.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |diagnostic
            Summary|is exp doesn't return       |static assert hides template
                   |correct result              |errors




------- Comment #1 from clugdbug at yahoo.com.au  2008-06-30 08:17 -------
I think this *is* returning the correct result. The only issue is, that
although the template instantiation fails, no error message is printed. (just
"static assert is false"). But static assert is a bit wierd (and not terribly
useful any more), so I'm not even certain that it is a bug.


-- 



More information about the Digitalmars-d-bugs mailing list