digitalmars.D.bugs - [Issue 8679] New: ICE after compiler-error
- d-bugmail puremagic.com (33/33) Sep 17 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8679
- d-bugmail puremagic.com (12/12) Sep 20 2012 http://d.puremagic.com/issues/show_bug.cgi?id=8679
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 puremagic.com
ReportedBy: andrej.mitrovich gmail.com
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: -------
Sep 17 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8679
Don <clugdbug yahoo.com.au> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |clugdbug yahoo.com.au
Resolution| |DUPLICATE
*** This issue has been marked as a duplicate of issue 8253 ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Sep 20 2012








d-bugmail puremagic.com