www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13720] New: Adding trivial destructor to std.datetime causes


          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


    public pure nothrow  safe  nogc ~this() { }

to struct TimeOfDay in std\datetime.d, and then compiling with:

    dmd std\datetime -unittest -main -O


    Internal error: ..\ztc\cgelem.c 2418

This is a blocker for:


and for using destructors in general.

Nov 12 2014