go/ssa: skip typeparam/issue58513.go
This test case needs to check that the runtime is able to correctly
unwind the call stack, and it uses runtime.Caller for that. However,
this isn't implemented by go/ssa/interp, so it needs to be skipped.
(It's an issue that's fairly specific to how inlining works too, so
unlikely to matter to go/ssa/interp anyway.)
While here, it looks like issue376214.go is now working, so enable
that test too.
Updates golang/go#58513.
Change-Id: I3fa87c77542d85e0e5ce42c2f6d4c451700268cd
Reviewed-on: https://go-review.googlesource.com/c/tools/+/468435
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
gopls-CI: kokoro <noreply+kokoro@google.com>
Reviewed-by: Tim King <taking@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
diff --git a/go/ssa/builder_test.go b/go/ssa/builder_test.go
index a80d8d5..fd2d21c 100644
--- a/go/ssa/builder_test.go
+++ b/go/ssa/builder_test.go
@@ -729,8 +729,8 @@
}
for _, entry := range list {
- if entry.Name() == "issue376214.go" {
- continue // investigate variadic + New signature.
+ if entry.Name() == "issue58513.go" {
+ continue // uses runtime.Caller; unimplemented by go/ssa/interp
}
if entry.IsDir() || !strings.HasSuffix(entry.Name(), ".go") {
continue // Consider standalone go files.