D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 6984 - CTFE generates a torrent of spurious errors, if there was a previous error
Summary: CTFE generates a torrent of spurious errors, if there was a previous error
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: Other All
: P2 enhancement
Assignee: No Owner
URL:
Keywords: diagnostic
Depends on:
Blocks:
 
Reported: 2011-11-21 14:15 UTC by Don
Modified: 2015-06-09 05:11 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Don 2011-11-21 14:15:26 UTC
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.