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