[Issue 9040] Assertion `precedence[e->op] != PREC_zero' failed instantiating anonymous class at compile time

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Sep 26 06:08:55 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=9040



--- Comment #4 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2013-09-26 06:08:54 PDT ---
(In reply to comment #2)
> 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.

W.r.t. this it's a linker failure, and I've filed Issue 11126 for it.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list