DMD 1.030 and 2.014 releases
    Ary Borenszweig 
    ary at esperanto.org.ar
       
    Sat May 17 06:55:05 PDT 2008
    
    
  
Walter, I think I've found a potential bug in DMD 1.030 while porting it 
to Descent.
Take a look at cast.c, Expression *BinExp::typeCombine(Scope *sc), lines 
1371 and 1374:
/* Pick 'tightest' type
  */
ClassDeclaration *cd1 = tc1->sym->baseClass;
ClassDeclaration *cd2 = tc1->sym->baseClass;
shouldn't the second line use tc2 instead of tc1?
(Eclipse pointed me out that tc2 wasn't used... ;-)
    
    
More information about the Digitalmars-d-announce
mailing list