fix type synonym identifier not in symbol table bug