Update go version

This commit is contained in:
dwrz
2026-08-21 10:23:37 +00:00
parent 78248a6145
commit c2e2d9ea02
466 changed files with 67766 additions and 2881 deletions

View File

@@ -131,7 +131,9 @@ func nillable(t types.Type) bool {
return u != nil && nillable(u)
})
}
switch t.Underlying().(type) {
switch t := t.Underlying().(type) {
case *types.Basic:
return t.Kind() == types.UnsafePointer
case *types.Pointer, *types.Slice, *types.Chan, *types.Map, *types.Signature:
return true
case *types.Interface: