Bug 8679 – ICE: 'v->ctfeAdrOnStack >= 0 && v->ctfeAdrOnStack < stackPointer()' on line 100 in file 'interpret.c'
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-09-17T11:23:00Z
Last change time
2012-09-20T23:45:30Z
Assigned to
nobody
Creator
andrej.mitrovich
Comments
Comment #0 by andrej.mitrovich — 2012-09-17T11:23:16Z
class Foo
{
string foo()
{
return "";
}
}
void main()
{
Foo f = new Foo;
mixin(f.foo());
}
test.d(14): Error: variable f cannot be read at compile time
Assertion failure: 'v->ctfeAdrOnStack >= 0 && v->ctfeAdrOnStack < stackPointer()' on line 100 in file 'interpret.c'
The error is ok but the ICE should not appear. Not my code, reduced from: http://forum.dlang.org/thread/[email protected]#post-kftoqbweswexqjumkhks:40forum.dlang.org
Comment #1 by clugdbug — 2012-09-20T23:45:30Z
*** This issue has been marked as a duplicate of issue 8253 ***