cl: isAny compatible alias
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user