https://issues.dlang.org/show_bug.cgi?id=13720
Issue ID: 13720
Summary: Adding trivial destructor to std.datetime causes
Internal error: ..\ztc\cgelem.c 2418
Product: D
Version: D2
Hardware: All
OS: Windows
Status: NEW
Severity: blocker
Priority: P1
Component: DMD
Assignee: [email protected]
Reporter: [email protected]
Adding:
public pure nothrow @safe @nogc ~this() { }
to struct TimeOfDay in std\datetime.d, and then compiling with:
dmd std\datetime -unittest -main -O
produces:
Internal error: ..\ztc\cgelem.c 2418
This is a blocker for:
https://github.com/D-Programming-Language/dmd/pull/4136
and for using destructors in general.
--