May 16, 2004 Static constructor assertion failure | ||||
---|---|---|---|---|
| ||||
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(){}. |
Copyright © 1999-2021 by the D Language Foundation