Same as CL 543315 did for cmd/compile.
Change-Id: I56a200664c92fe34d4b78c2dbf6ed56288e89e0e
Reviewed-on: https://go-review.googlesource.com/c/go/+/600675
Auto-Submit: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
"exports.go": {"go/ast", "go/token"},
"generics.go": nil,
}
- if true /* was goexperiment.Unified */ {
- // TODO(mdempsky): Fix test below to flatten the transitive
- // Package.Imports graph. Unified IR is more precise about
- // recreating the package import graph.
- testfiles["exports.go"] = []string{"go/ast"}
- }
+ testfiles["exports.go"] = []string{"go/ast"}
for testfile, wantImports := range testfiles {
tmpdir := mktmpdir(t)