package com.redhat.ceylon.compiler.typechecker.model;


import java.util.List;

public class ClassAlias extends Class {
    
    @Override
    public ProducedType getProducedType(ProducedType outerType, 
            List<ProducedType> typeArguments) {
        return aliasType(outerType, typeArguments);
    }

    @Override
    public boolean isAlias() {
        return true;
    }
    
    @Override
    public boolean isAbstract() {
        Class etd = getExtendedTypeDeclaration();
        return etd!=null && etd.isAbstract();
    }
    
}

@@ -506,16 +506,29 @@
 =null &&
+ etd!=this &&
  etd.isA

fix stack overflow