From 1ed99c25746721146e3287d5452610b76a134f7f Mon Sep 17 00:00:00 2001 From: Li Jie Date: Wed, 8 Jan 2025 14:56:10 +0800 Subject: [PATCH] cl: isAny compatible alias --- compiler/cl/compile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/cl/compile.go b/compiler/cl/compile.go index 49724c32..fe15ab8b 100644 --- a/compiler/cl/compile.go +++ b/compiler/cl/compile.go @@ -503,7 +503,7 @@ func callRuntimeInit(b llssa.Builder, pkg llssa.Package) { } 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 false