Update go version
This commit is contained in:
4
vendor/golang.org/x/tools/go/ssa/const.go
generated
vendored
4
vendor/golang.org/x/tools/go/ssa/const.go
generated
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user