[Issue 1340] New: ICE on invalid use of template member declared in a class

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 13 09:39:45 PDT 2007


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

           Summary: ICE on invalid use of template member declared in a
                    class
           Product: D
           Version: 1.018
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: dvdfrdmn at users.sf.net


Sorry if this is a duplicate...

----
class foo {
    template temp( t ) {
        t boo( t a ) {
            return a;
        }
    }
}

void main() {
    auto a = foo.temp.boo();
}
----


-- 



More information about the Digitalmars-d-bugs mailing list