diff --git a/compiler/ssa/type_cvt.go b/compiler/ssa/type_cvt.go index 454266a7..0b8e8fb7 100644 --- a/compiler/ssa/type_cvt.go +++ b/compiler/ssa/type_cvt.go @@ -116,7 +116,7 @@ func (p goTypes) cvtType(typ types.Type) (raw types.Type, cvt bool) { case *types.TypeParam: return typ.Underlying(), false case *types.Alias: - return types.Unalias(t), true + return p.cvtType(types.Unalias(t)) default: panic(fmt.Sprintf("cvtType: unexpected type - %T", typ)) }