mirror of
https://github.com/mjl-/mox.git
synced 2025-07-14 08:54:35 +03:00
update to latest golang.org/x dependencies
This commit is contained in:
5
vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go
generated
vendored
5
vendor/golang.org/x/tools/go/gcexportdata/gcexportdata.go
generated
vendored
@ -193,10 +193,7 @@ func Read(in io.Reader, fset *token.FileSet, imports map[string]*types.Package,
|
||||
return pkg, err
|
||||
|
||||
default:
|
||||
l := len(data)
|
||||
if l > 10 {
|
||||
l = 10
|
||||
}
|
||||
l := min(len(data), 10)
|
||||
return nil, fmt.Errorf("unexpected export data with prefix %q for path %s", string(data[:l]), path)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user