You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
As spotted by the protobuf package via check-third-party.sh, the two structs below are identical: type alias1 = int64 type Struct1 struct { Alias alias1 } type alias2 = int64 type Struct2 struct { Alias alias2 } Our previous approach with stripStructTags dealt with struct tags, but it did not deal with aliases, which are now present in go/types thanks to the new alias tracking. The new approach properly ignores struct tags and unaliases any type aliases, resulting in correct hashes of any type. |
3 months ago | |
---|---|---|
.. | ||
asm.txtar | 5 months ago | |
atomic.txtar | 5 months ago | |
basic.txtar | 5 months ago | |
cache.txtar | 5 months ago | |
cgo.txtar | 5 months ago | |
crossbuild.txtar | 5 months ago | |
ctrlflow.txtar | 5 months ago | |
debugdir.txtar | 5 months ago | |
embed.txtar | 5 months ago | |
goenv.txtar | 5 months ago | |
gogarble.txtar | 4 months ago | |
goversion.txtar | 3 months ago | |
help.txtar | 3 months ago | |
implement.txtar | 3 months ago | |
imports.txtar | 5 months ago | |
init.txtar | 5 months ago | |
ldflags.txtar | 5 months ago | |
linker.txtar | 5 months ago | |
linkname.txtar | 5 months ago | |
list_error.txtar | 5 months ago | |
literals.txtar | 5 months ago | |
modinfo.txtar | 5 months ago | |
plugin.txtar | 5 months ago | |
position.txtar | 5 months ago | |
reflect.txtar | 4 months ago | |
reverse.txtar | 5 months ago | |
run.txtar | 5 months ago | |
seed-cache.txtar | 5 months ago | |
seed.txtar | 5 months ago | |
syntax.txtar | 5 months ago | |
test.txtar | 5 months ago | |
tiny.txtar | 5 months ago | |
typeparams.txtar | 5 months ago |