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/script
Daniel Martí d89a55687c add a regression test for type names and reflect
We were recently altering the logic in reflect.go for type names,
which could have broken this kind of valid use of reflection.

Add a regression test, which I verified would break before my last
change to "simplify" the logic, which actually changed the logic,
as xuannv112 correctly pointed out.

After thinking about the change in behavior for a little while,
I realised that the new behavior is more correct, hence the test.
2 years ago
..
asm.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
atomic.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
basic.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
cache.txtar support computing missing pkgCache entries 2 years ago
cgo.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
crossbuild.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
debugdir.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
embed.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
goenv.txtar drop support for Go 1.19 2 years ago
gogarble.txtar avoid go:linkname warnings when building on tip 2 years ago
goversion.txtar suggest a command when asking the user to rebuild garble 2 years ago
help.txtar adapt to tip's error message change from "GOROOT" to "std" 2 years ago
implement.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
imports.txtar use go:build in script/imports.txtar 2 years ago
init.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
ldflags.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
linker.txtar internal/linker: place files under GARBLE_CACHE 2 years ago
linkname.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
list_error.txtar simplify our handling of "go list" errors 2 years ago
literals.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
modinfo.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
plugin.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
position.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
reflect.txtar add a regression test for type names and reflect 2 years ago
reverse.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
run.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
seed-cache.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
seed.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
syntax.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
test.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
tiny.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago
typeparams.txtar set testscript's RequireExplicitExec and RequireUniqueNames 2 years ago