[Issue 12397] New: CTFE ICE CompiledCtfeFunction::walkAllVars with 2.065

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Mar 18 03:12:46 PDT 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12397

           Summary: CTFE ICE CompiledCtfeFunction::walkAllVars with 2.065
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: mrmocool at gmx.de


--- Comment #0 from Trass3r <mrmocool at gmx.de> 2014-03-18 11:12:43 CET ---
Compiling DustMite master.
Here's the reduced version, removing ': int' makes it disappear:

$ cat splitter.d 
struct DSplitter
{
    enum Token : int
    {
        max = tokenLookup.length
    }

immutable string[Token.max] tokenText =
    {
    };

}
$ dmd splitter.d
splitter.d(5): Error: undefined identifier tokenLookup
splitter.d(8): Error: CTFE internal error: ErrorExp in splitter.d(8)

dmd: interpret.c:310: static int CompiledCtfeFunction::walkAllVars(Expression*,
void*): Assertion `0' failed.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list