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.
garble/testdata/scripts
Daniel Martí 9d46fe917a avoid a type assertion panic with generic code
I was wrongly assumed that, if `used` has an `Elem` method,
then `origin` must too. But it does not if it's a type parameter.

Add a test case too, which panicked before the fix.

Fixes #577.
3 years ago
..
asm.txt all: drop support for Go 1.17 4 years ago
basic.txt add missing context to two unmarshal errors 4 years ago
cgo.txt obfuscate cgo-generated-Go filenames 3 years ago
crossbuild.txt all: drop support for Go 1.17 4 years ago
debugdir.txt all: drop support for Go 1.17 4 years ago
embed.txt all: drop support for Go 1.17 4 years ago
goenv.txt sleep between cp and exec in test scripts 3 years ago
gogarble.txt all: drop support for Go 1.17 4 years ago
goversion.txt start testing on Go 1.19.x 3 years ago
help.txt go 1.18.x now sets -buildvcs=false for `go test` 3 years ago
implement.txt all: drop support for Go 1.17 4 years ago
imports.txt avoid go/printer from breaking imports 3 years ago
init.txt all: drop support for Go 1.17 4 years ago
ldflags.txt slight simplifications and alloc reductions 3 years ago
linkname.txt all: drop support for Go 1.17 4 years ago
literals.txt Disable seed obfuscator (#535) 3 years ago
modinfo.txt all: drop support for Go 1.17 4 years ago
plugin.txt all: drop support for Go 1.17 4 years ago
position.txt work around another go/printer bug to fix andybalholm/brotli 3 years ago
reflect.txt fix support with the latest Go master version 3 years ago
reverse.txt actually remove temporary directories after obfuscation 3 years ago
seed-cache.txt all: drop support for Go 1.17 4 years ago
seed.txt all: drop support for Go 1.17 4 years ago
syntax.txt all: drop support for Go 1.17 4 years ago
test.txt skip unnecessary "refusing to list" test errors 4 years ago
tiny.txt all: drop support for Go 1.17 4 years ago
typeparams.txt avoid a type assertion panic with generic code 3 years ago