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í 30927da637 avoid panic when a package's imports cannot be loaded
I mistakenly understood that, when the DepsErrors field has errors,
the Error field would contain an error as well.
That is not always the case; for example,
the imports_missing package in the added test script
had DepsErrors set but Error empty, causing a nil dereference panic.

Make the code more robust, and report both kinds of load errors.

Fixes #694.
3 years ago
..
asm.txtar drop support for Go 1.19 3 years ago
basic.txtar drop support for Go 1.19 3 years ago
cgo.txtar drop support for Go 1.19 3 years ago
crossbuild.txtar drop support for Go 1.19 3 years ago
debugdir.txtar drop support for Go 1.19 3 years ago
embed.txtar drop support for Go 1.19 3 years ago
goenv.txtar drop support for Go 1.19 3 years ago
gogarble.txtar drop support for Go 1.19 3 years ago
goversion.txtar drop support for Go 1.19 3 years ago
help.txtar drop support for Go 1.19 3 years ago
implement.txtar drop support for Go 1.19 3 years ago
imports.txtar drop support for Go 1.19 3 years ago
init.txtar drop support for Go 1.19 3 years ago
ldflags.txtar drop support for Go 1.19 3 years ago
linker.txtar use the host's GOEXE when building the linker 3 years ago
linkname.txtar drop support for Go 1.19 3 years ago
list_error.txtar avoid panic when a package's imports cannot be loaded 3 years ago
literals.txtar internal/literals: re-enable the seed obfuscator 3 years ago
modinfo.txtar drop support for Go 1.19 3 years ago
plugin.txtar drop support for Go 1.19 3 years ago
position.txtar drop support for Go 1.19 3 years ago
reflect.txtar drop support for Go 1.19 3 years ago
reverse.txtar drop bits of code to support Go 1.19 3 years ago
seed-cache.txtar drop support for Go 1.19 3 years ago
seed.txtar drop support for Go 1.19 3 years ago
syntax.txtar drop support for Go 1.19 3 years ago
test.txtar drop support for Go 1.19 3 years ago
tiny.txtar drop support for Go 1.19 3 years ago
typeparams.txtar drop support for Go 1.19 3 years ago