[Issue 15816] ICE void ddmd.dclass.__assert(int) with error: anonymous classes not allowed

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Mar 20 17:20:56 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15816

Timothee Cour <timothee.cour2 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timothee.cour2 at gmail.com
           Severity|enhancement                 |normal

--- Comment #1 from Timothee Cour <timothee.cour2 at gmail.com> ---
dmd -of=/tmp/d07/temp  -o- -c fun1.d


fun2.d(1): Error: anonymous classes not allowed
core.exception.AssertError at dclass.d(428): Assertion failure
----------------
4   dmd                                 0x000000010022650c _d_assert + 104
5   dmd                                 0x000000010000210a void
ddmd.dclass.__assert(int) + 38
6   dmd                                 0x000000010002d8ca
_ZN16ClassDeclaration8semanticEP5Scope + 242
7   dmd                                 0x0000000100052b3f
_ZN6Module8semanticEv + 111
8   dmd                                 0x000000010003a230
_ZN6Import8semanticEP5Scope + 416
9   dmd                                 0x000000010002ed8e
_ZN16ClassDeclaration8semanticEP5Scope + 5558
10  dmd                                 0x0000000100052b3f
_ZN6Module8semanticEv + 111
11  dmd                                 0x00000001000d0552 _Z7tryMainmPPKc +
13834
12  dmd                                 0x00000001000031f2 _Dmain + 38
13  dmd                                 0x0000000100235627
D2rt6dmain211_d_run_mainUiPPaPUAAaZiZ6runAllMFZ9__lambda1MFZv + 39
14  dmd                                 0x000000010023555f void
rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).tryExec(scope void delegate()) + 55
15  dmd                                 0x00000001002355cc void
rt.dmain2._d_run_main(int, char**, extern (C) int function(char[][])*).runAll()
+ 44
16  dmd                                 0x000000010023555f void
rt.dmain2._d_run_main(int, char**, extern (C) int
function(char[][])*).tryExec(scope void delegate()) + 55
17  dmd                                 0x00000001002354b1 _d_run_main + 497
18  dmd                                 0x000000010000328b main + 15
19  dmd                                 0x0000000100001817 _start + 229
20  dmd                                 0x0000000100001730 start + 32
21  ???                                 0x0000000000000004 0x0 + 4

--


More information about the Digitalmars-d-bugs mailing list