[Issue 434] New: Compiler crash on template function syntax error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 15 11:32:24 PDT 2006


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

           Summary: Compiler crash on template function syntax error
           Product: D
           Version: 0.169
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: aarti at interia.pl


class FObject {
public:
    char[] opCall()(char[] s) {return s; }
}
void main() { 
auto f=new FObject;
char[] delegate(char[]) d=&f.opCall;
}

while declaration of opCall is probably not proper - (is it template with no
type argument?), it shouldn't break compiler.


-- 




More information about the Digitalmars-d-bugs mailing list