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í 4271bc45ae avoid panic when embedding a builtin alias
TypeName.Pkg is documented as:

    Pkg returns the package to which the object belongs.
    The result is nil for labels and objects in the Universe scope.

When a struct type embeds a builtin alias type, such as byte,
this would lead to a panic since we assumed we could use the Pkg method.

Fixes #798.
2 years ago
..
asm.txtar drop support for Go 1.20 2 years ago
atomic.txtar drop support for Go 1.20 2 years ago
basic.txtar drop support for Go 1.20 2 years ago
cache.txtar drop support for Go 1.20 2 years ago
cgo.txtar drop support for Go 1.20 2 years ago
crossbuild.txtar drop support for Go 1.20 2 years ago
ctrlflow.txtar drop support for Go 1.20 2 years ago
debugdir.txtar drop support for Go 1.20 2 years ago
embed.txtar drop support for Go 1.20 2 years ago
goenv.txtar drop support for Go 1.20 2 years ago
gogarble.txtar drop support for Go 1.20 2 years ago
goversion.txtar drop support for Go 1.20 2 years ago
help.txtar drop support for Go 1.20 2 years ago
implement.txtar strip struct tags when hashing structs for type identity 2 years ago
imports.txtar drop support for Go 1.20 2 years ago
init.txtar drop support for Go 1.20 2 years ago
ldflags.txtar drop support for Go 1.20 2 years ago
linker.txtar drop support for Go 1.20 2 years ago
linkname.txtar drop support for Go 1.20 2 years ago
list_error.txtar drop support for Go 1.20 2 years ago
literals.txtar drop support for Go 1.20 2 years ago
modinfo.txtar drop support for Go 1.20 2 years ago
plugin.txtar drop support for Go 1.20 2 years ago
position.txtar drop support for Go 1.20 2 years ago
reflect.txtar drop support for Go 1.20 2 years ago
reverse.txtar drop support for Go 1.20 2 years ago
run.txtar drop support for Go 1.20 2 years ago
seed-cache.txtar drop support for Go 1.20 2 years ago
seed.txtar drop support for Go 1.20 2 years ago
syntax.txtar avoid panic when embedding a builtin alias 2 years ago
test.txtar drop support for Go 1.20 2 years ago
tiny.txtar drop support for Go 1.20 2 years ago
typeparams.txtar drop support for Go 1.20 2 years ago