November 12, 2014 [Issue 13720] New: Adding trivial destructor to std.datetime causes Internal error: ..\ztc\cgelem.c 2418 | ||||
---|---|---|---|---|
| ||||
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: nobody@puremagic.com Reporter: bugzilla@digitalmars.com 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. -- |
Copyright © 1999-2021 by the D Language Foundation