[Issue 1305] New: Compiler hangs with templated opCmp returning	templated class
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Jul  2 01:19:48 PDT 2007
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=1305
           Summary: Compiler hangs with templated opCmp returning templated
                    class
           Product: D
           Version: 1.017
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla at digitalmars.com
        ReportedBy: clugdbug at yahoo.com.au
Also hangs with 1.018.
--------------
class A(C)
{
   A!(int) opCmp(T)(T x){ return null;  }
}
void main()
{
    A!(short) a;
    bool c = a > a;
}
-- 
    
    
More information about the Digitalmars-d-bugs
mailing list