void f(){}
static assert(f());
----
bug.d(10): Error: cannot evaluate f() at compile time
bug.d(10): while evaluating: static assert(f())
But actually f() was successfully evaluated at compile time!
Comment #1 by clugdbug — 2012-03-29T00:49:46Z
And it also applies to static if.
Comment #2 by github-bugzilla — 2012-06-22T00:22:47Z