[Issue 6984] New: CTFE generates a torrent of spurious errors, if there was a previous error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Nov 21 14:16:19 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6984

           Summary: CTFE generates a torrent of spurious errors, if there
                    was a previous error
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: clugdbug at yahoo.com.au


--- Comment #0 from Don <clugdbug at yahoo.com.au> 2011-11-21 14:15:26 PST ---
If any errors have occured during compilation, the CTFE engine won't even try.
It just reports "function XXX cannot be interpreted at compile time" for every
invocation of CTFE.

Eg, in the test suite interpret3.d, if you add an 'assert(0)' to the first
test, more than a hundred spurious error messages are generated.

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


More information about the Digitalmars-d-bugs mailing list