http://d.puremagic.com/issues/show_bug.cgi?id=9040
Andrej Mitrovic <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |[email protected] Resolution| |WORKSFORME --- Comment #2 from Andrej Mitrovic <[email protected]> 2013-09-26 06:03:54 PDT --- In 2.063.2 this now prints: test.d(9): Error: variable test.main.staticInstance is mutable. Only const or immutable class thread local variable are allowed, not test.BaseClass Unfortunately there's a new issue: ----- class BaseClass {} void main() { static BaseClass staticAnonInstance = new class BaseClass {}; } ----- However this is a separate issue, so I'll file it as a new bug. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
