[Issue 15816] ICE void ddmd.dclass.__assert(int) with error: anonymous classes not allowed
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Mar 23 22:12:11 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=15816
--- Comment #3 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
https://github.com/D-Programming-Language/dmd/commit/0480c90718a73af2cefc39ae92828b7555e9a797
fix Issue 15816 - ICE void ddmd.dclass.__assert(int) with error: anonymous
classes not allowed
An invalid anonymous class declaration has no chance to get internal `ident` (=
"__anonclassXX"), because its `parent` is set by `Dsymbol.addMember` before the
`semantic` is invoked.
Name all `ClassDeclaration` instances during the constructions, then the
problematic assertion can be removed.
https://github.com/D-Programming-Language/dmd/commit/fc3beb0e1b1d36eabe090d73db2829ad02975c75
Merge pull request #5565 from 9rnsr/fix15816
Issue 15816 - ICE void ddmd.dclass.__assert(int) with error: anonymous classes
not allowed
--
More information about the Digitalmars-d-bugs
mailing list