[Issue 7847] [ICE] Internal error: e2ir.c 688 with -inline

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 6 15:16:04 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=7847



--- Comment #3 from timon.gehr at gmx.ch 2012-04-06 15:16:41 PDT ---
The following variation causes an ICE in a different location:
---
Bar New(T,A...)(A args){return null;}
class Bar{
    this(Foo){ }
    static Bar create(){
        return New!Bar(Foo(0)).foo();
    }
    Bar foo(){return this;}
}

struct Foo{
    int x;
    this(T)(T ){void function() foo = {Bar.create();};}
    void bar(){Foo r=Foo("");}
}
---
---
Internal error: e2ir.c 3500
---

-- 
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