diff --git a/ssa/type_cvt.go b/ssa/type_cvt.go index 11666472..a9314a68 100644 --- a/ssa/type_cvt.go +++ b/ssa/type_cvt.go @@ -128,6 +128,7 @@ func (p goTypes) cvtNamed(t *types.Named) (raw *types.Named, cvt bool) { named.SetUnderlying(tund) return named, true } + p.typs[unsafe.Pointer(t)] = unsafe.Pointer(t) return t, false }