[Issue 8679] New: ICE after compiler-error
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Sep 17 11:22:30 PDT 2012
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: nobody at puremagic.com
ReportedBy: andrej.mitrovich at gmail.com
--- Comment #0 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 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/kftoqbweswexqjumkhks@forum.dlang.org#post-kftoqbweswexqjumkhks:40forum.dlang.org
--
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