www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 13789] New: [ICE v2.067-devel-639bcaa] statement.c:754:


          Issue ID: 13789
           Summary: [ICE v2.067-devel-639bcaa] statement.c:754: Assertion
                    `global.gaggedErrors || global.errors' failed.
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: nobody puremagic.com
          Reporter: sfrijters gmail.com

Created attachment 1457
  --> https://issues.dlang.org/attachment.cgi?id=1457&action=edit
Dustmite-reduced test case

Using dmd v2.067-devel-639bcaa, and running make on the attached
Dustmite-reduced test case results in

dmd: statement.c:754: ErrorStatement::ErrorStatement(): Assertion
`global.gaggedErrors || global.errors' failed.

The reduced code is pretty much bogus, and the error message went away if I
tried to move definitions into a single file, so I'm guessing something is
going wrong with module inclusion or something.

Nov 28 2014