Previously, each word could be a package import path or a comma-separated list of *.go file names. Now, if the first word ends with ".go", all words are assumed to be Go source files. This makes it impossible to specify two ad-hoc packages from source files, but no-one needs that. FromArgs also takes a boolean indicating whether tests are wanted or not. Also: ssadump: add -test flag to set that boolean. For the oracle it's always true. LGTM=gri R=gri CC=golang-codereviews https://golang.org/cl/61470047 |
||
|---|---|---|
| .. | ||
| testdata | ||
| importer_test.go | ||
| loader.go | ||
| pkginfo.go | ||
| source_test.go | ||
| util.go | ||