http://d.puremagic.com/issues/show_bug.cgi?id=8679
Summary: ICE after compiler-error
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Andrej Mitrovic <[email protected]> 2012-09-17
11:23:16 PDT ---
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
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------