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.
A recent PR added a bigger regression test for go-spew, and fixed an issue where we would obfuscate local named types even if they were embedded into local structs used for reflection. This would effectively mean we were obfuscating one field name, the one derived from the embedding, which we didn't want to. The fix did this by searching for embedded objects with extra code. However, as far as I can tell, that isn't necessary; we can do the right thing by recording all local type names just like we already do for all field names. This results in less complicated code, and avoids needing special logic to handle embedding struct types, so I reckon it's a win. Add even more tests to convince myself that we're still obfuscating local types and field names which aren't used for reflection. |
2 years ago | |
---|---|---|
.. | ||
asm.txtar | 2 years ago | |
atomic.txtar | 2 years ago | |
basic.txtar | 2 years ago | |
cache.txtar | 2 years ago | |
cgo.txtar | 2 years ago | |
crossbuild.txtar | 2 years ago | |
debugdir.txtar | 2 years ago | |
embed.txtar | 2 years ago | |
goenv.txtar | 2 years ago | |
gogarble.txtar | 2 years ago | |
goversion.txtar | 2 years ago | |
help.txtar | 2 years ago | |
implement.txtar | 2 years ago | |
imports.txtar | 2 years ago | |
init.txtar | 2 years ago | |
ldflags.txtar | 2 years ago | |
linker.txtar | 2 years ago | |
linkname.txtar | 2 years ago | |
list_error.txtar | 2 years ago | |
literals.txtar | 2 years ago | |
modinfo.txtar | 2 years ago | |
plugin.txtar | 2 years ago | |
position.txtar | 2 years ago | |
reflect.txtar | 2 years ago | |
reverse.txtar | 2 years ago | |
run.txtar | 2 years ago | |
seed-cache.txtar | 2 years ago | |
seed.txtar | 2 years ago | |
syntax.txtar | 2 years ago | |
test.txtar | 2 years ago | |
tiny.txtar | 2 years ago | |
typeparams.txtar | 2 years ago |