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



--- Comment #3 from timon.g...@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: -------

Reply via email to