[Issue 15002] ICE interpret.c:331: virtual void CompiledCtfeFunction::onExpression(Expression*)::VarWalker::visit(ErrorExp*): Assertion `0' failed.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Sep 2 01:16:32 PDT 2015
https://issues.dlang.org/show_bug.cgi?id=15002
--- Comment #3 from Vladimir Panteleev <thecybershadow at gmail.com> ---
(In reply to Iain Buclaw from comment #2)
> Regression? Regression from what? Wrong-code to ICE? Valid to ICE? ICE
> to another ICE?
>From expected error message, to expected error message + ICE:
C:\Temp\D\issues\15002> dver 2.063 dmd -o- test.d
test.d(11): Error: array index 5 is out of bounds g_3[0 .. 3]
test.d(11): Error: cannot use non-constant CTFE pointer in an initializer
'&(__error)[0u]'
C:\Temp\D\issues\15002> dver 2.064 dmd -o- test.d
(auto-correcting D version 2.064 to 2.064.2)
test.d(11): Error: array index 5 is out of bounds g_3[0 .. 3]
test.d(11): Error: array index 5 is out of bounds g_3[0 .. 3]
CTFE: ErrorExp in test.d(11)
Assertion failure: '0' on line 310 in file 'interpret.c'
abnormal program termination
--
More information about the Digitalmars-d-bugs
mailing list