[Issue 1511] static assert doesn't fail as expected

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Sep 17 21:21:01 PDT 2007


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





------- Comment #2 from braddr at puremagic.com  2007-09-17 23:21 -------
is(T) is true as long as T is a type.  typeof() will return the type of any
valid expression.  In your examples, all the expressions are valid.  So, um..
there's no bug here.


-- 



More information about the Digitalmars-d-bugs mailing list