digitalmars.D.bugs - [Issue 16214] New: [REG2.069] ICE: Assertion `fd->semanticRun ==
- via Digitalmars-d-bugs (39/39) Jun 27 2016 https://issues.dlang.org/show_bug.cgi?id=16214
https://issues.dlang.org/show_bug.cgi?id=16214 Issue ID: 16214 Summary: [REG2.069] ICE: Assertion `fd->semanticRun == PASSsemantic3done' failed. Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Keywords: ice Severity: regression Priority: P1 Component: dmd Assignee: nobody puremagic.com Reporter: ag0aep6g gmail.com Found by ted who posted to D.General: http://forum.dlang.org/post/nknukb$1oe6$1 digitalmars.com Reduced code (two files): ---- module a; import b; class LibasyncEventLoop : EventLoop {} module b; import a; struct Appender() { int[] arr; } struct Tuple() { alias A = Appender!(); } class EventLoop { auto f() { auto x = [Tuple!().init]; } } ---- `dmd -c a.d` fails with: ---- dmd: glue.c:809: void FuncDeclaration_toObjFile(FuncDeclaration*, bool): Assertion `fd->semanticRun == PASSsemantic3done' failed. Aborted (core dumped) ---- Compiles with 2.068. ICE occurs since 2.069. --
Jun 27 2016