[Issue 16214] New: [REG2.069] ICE: Assertion `fd->semanticRun == PASSsemantic3done' failed.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Mon Jun 27 14:39:27 PDT 2016
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 at puremagic.com
Reporter: ag0aep6g at 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.
--
More information about the Digitalmars-d-bugs
mailing list