www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14822] New: DMD crash with CTFE range code (v2.067.1)


          Issue ID: 14822
           Summary: DMD crash with CTFE range code (v2.067.1)
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: initrd.gz gmail.com

Created attachment 1531
  --> https://issues.dlang.org/attachment.cgi?id=1531&action=edit
reduced source code

I've reduced this code with DustMite and attached it to the issue.

Compile using `dmd -main -unittest sqlite3.d`


 dmd -main -unittest sqlite3.d
MapResult(Result(0LU, 0LU)) dmd: struct.c:929: virtual void StructDeclaration::semantic(Scope*): Assertion `type->ty != Tstruct || ((TypeStruct *)type)->sym == this' failed. fish: “dmd -main -unittest sqlite3.d” terminated by signal SIGABRT (Abort) --
Jul 23 2015