tools/go/packages
Michael Matloob 4d17acb3b1 [release-branch.go1.11] go/packages: fix build breakage caused by math/bits to unsafe dep
Our tests compare import graphs from go/packages to expected graphs,
and one of the test cases imports math/bits. But in tip math/bits
picked up a dependency on unsafe, which means the expected graph
is different when run against a Go version >= go1.11. Remove that edge
before comparing against the expected graph to work around the breakage.

Change-Id: Ic586a75ba530741d251df9f87d0817a8e37d92ea
Reviewed-on: https://go-review.googlesource.com/c/151657
Run-TryBot: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
(cherry picked from commit c5b00d9557)
Reviewed-on: https://go-review.googlesource.com/c/153864
Run-TryBot: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
2018-12-12 20:15:36 +00:00
..
gopackages go/packages: use Package as the raw form 2018-08-10 14:45:52 +00:00
doc.go all: fix typos in comments 2018-08-10 18:15:57 +00:00
external.go go/packages: use Package as the raw form 2018-08-10 14:45:52 +00:00
golist.go go/packages: prefer import map to identity imports 2018-08-10 19:35:07 +00:00
golist_fallback.go go/packages: prefer import map to identity imports 2018-08-10 19:35:07 +00:00
packages.go go/packages: minor fixes 2018-08-10 19:50:59 +00:00
packages110_test.go go/packages: switch fallback implementation to use go list 2018-07-26 16:53:35 +00:00
packages_test.go [release-branch.go1.11] go/packages: fix build breakage caused by math/bits to unsafe dep 2018-12-12 20:15:36 +00:00
stdlib_test.go go/packages: use Package as the raw form 2018-08-10 14:45:52 +00:00