This no longer works in D2.008.
struct A
{
void f() {}
static assert(is(f));
}
void main()
{
A a;
}
Under D2.007, the static assert would pass, because f exists. In
D2.008, the static assert fails. Why?
More importantly, how do I test that a function exists in D2.008?