[Issue 7645] ICE(e2ir.c) nested classes

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Oct 14 03:18:07 PDT 2013


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


Denis Shelomovskij <verylonglogin.reg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |verylonglogin.reg at gmail.com


--- Comment #4 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2013-10-14 14:18:06 MSD ---
It can be templated `class`, `struct`, or `union`, with function or field.

Testcase from Issue 7701:
---
struct S {
    struct S2 (T) {
        void fn () {}
    }
}

void main () {
    S s;
    s.S2!int.fn();
}
---

Also now internal error is: e2ir.c 780

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