digitalmars.D.bugs - Static constructor assertion failure
- Vathix (10/10) May 16 2004 class Foo
class Foo
{
static:
this() {}
}
DMD on Windows prints:
Assertion failure: '!(sc->stc & STCstatic)' on line 1203 in file 'func.c'
abnormal program termination
Also happens with static{ this(){} }, but doesn't cause the error if it's
just static this(){}.
May 16 2004








"Vathix" <vathixSpamFix dprogramming.com>