build: upgrade dependency and build with go 1.21

This commit is contained in:
2023-08-21 23:15:03 +02:00
parent adb38c3820
commit 993cfaa9d4
353 changed files with 47533 additions and 16238 deletions

View File

@ -33,7 +33,7 @@ var (
return !inOneof(ox) && inOneof(oy)
}
// Fields in disjoint oneof sets are sorted by declaration index.
if ox != nil && oy != nil && ox != oy {
if inOneof(ox) && inOneof(oy) && ox != oy {
return ox.Index() < oy.Index()
}
// Fields sorted by field number.