D - Digital Mars D Compiler Beta v0.50 for windows bug.
- Eugene Melekhov (13/13) Dec 04 2002 Hi,
- Walter (5/18) Dec 04 2002 Thanks, I'll take care of it.
Hi, The following code static: this(){} Results in: Assertion failure: '!(sc->stc & STCstatic)' on line 847 in file 'func.c' abnormal program termination Another quiestion about the static constructors/destructors. As I can see from the from the dmd sources the syntax of the static constructor/destructor require 'static [~]this...'. Why don't allow placing constructor/destructor after 'static:' just as any other static feature?
Dec 04 2002
Thanks, I'll take care of it. "Eugene Melekhov" <eugene_melekhov mail.ru> wrote in message news:askjj1$1u9q$1 digitaldaemon.com...Hi, The following code static: this(){} Results in: Assertion failure: '!(sc->stc & STCstatic)' on line 847 in file 'func.c' abnormal program termination Another quiestion about the static constructors/destructors. As I can see from the from the dmd sources the syntax of the static constructor/destructor require 'static [~]this...'. Why don't allow placingconstructor/destructorafter 'static:' just as any other static feature?Well, it's not really 'static' like the other uses of static are.
Dec 04 2002