cl: isAny compatible alias

This commit is contained in:
Li Jie
2025-01-08 14:56:10 +08:00
parent 64b54d4380
commit 1ed99c2574

View File

@@ -503,7 +503,7 @@ func callRuntimeInit(b llssa.Builder, pkg llssa.Package) {
} }
func isAny(t types.Type) bool { func isAny(t types.Type) bool {
if t, ok := t.(*types.Interface); ok { if t, ok := t.Underlying().(*types.Interface); ok {
return t.Empty() return t.Empty()
} }
return false return false