[Issue 7847] [ICE] Internal error: e2ir.c 688 with -inline
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Apr 6 15:08:50 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7847
--- Comment #2 from timon.gehr at gmx.ch 2012-04-06 15:09:26 PDT ---
The following variation crashes the compiler with a segmentation fault:
Bar New(T)(Foo args){return null;}
class Bar{
this(Foo){ }
static Bar create(){
return New!Bar(Foo(0));
}
}
struct Foo{
int x;
this(T)(T ){void function() foo = {Bar.create();};}
void bar(){Foo r=Foo("");}
}
--
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