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


osa8...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |osa8...@gmail.com


--- Comment #1 from osa8...@gmail.com 2010-09-23 09:53:16 PDT ---
I got the same ICE (dmd 2.048 on linux) and was able to reduce the problem to a
small test case which does not involve any libraries like std.algorithm:

struct A( alias P ) {
    static void a() {
        void aa() { P(); }
    }
}

template B( alias P ) {
    void b() { A!P a; }
}

struct C( alias P ) {
    void c() { B!P.b(); }
}

void main() {
    void bar() {}
    C!bar c;
}

Compiling this produces the same error:
Internal error: toir.c 190

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to