You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Entering directory `/workdir/gopath/src/golang.org/x/tools/go/pointer'
2020/09/02 14:32:24 internal error type-checking main$testmain: main$testmain.go:42:25: cannot use match (variable of type deps) as testing.testDeps value in argument to testing.MainStart: missing method SetPanicOnExit0
FAIL golang.org/x/tools/go/pointer 4.716s
A short-term fix to add the missing method is trivial (in x/tools/go/ssa/testmain.go).
Longer term, x/tools/go/ssa should not be relying on the testing.testDeps interface or the testing.MainStart function. (testing.M and TestMain exist for a reason.)
The text was updated successfully, but these errors were encountered:
gopherbot
added
the
Tools
This label describes issues relating to any tools in the x/tools repository.
label
Sep 2, 2020
bcmills
added
NeedsFix
The path to resolution is known, but the work has not been done.
and removed
Tools
This label describes issues relating to any tools in the x/tools repository.
labels
Sep 2, 2020
A new method was added to testing.testDeps in CL 250977, which causes
the implementation of that (unexported, explicitly-unstable) interface
in go/ssa to no longer satisfy the interface.
This is a quick, short-term fix. Longer term, the go/ssa package
should switch to the supported TestMain API.
Updates golang/go#41186
Change-Id: Ice110ef540e31a0a98085713346126ffeae64d5e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/252677
Run-TryBot: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
https://build.golang.org/log/83ea7f332b5b9c7b09ee1f00d5ac8d6f947b29b0:
A short-term fix to add the missing method is trivial (in
x/tools/go/ssa/testmain.go
).Longer term,
x/tools/go/ssa
should not be relying on thetesting.testDeps
interface or thetesting.MainStart
function. (testing.M
andTestMain
exist for a reason.)The text was updated successfully, but these errors were encountered: