aboutsummaryrefslogtreecommitdiff
path: root/cmd/ssadump/main.go
diff options
context:
space:
mode:
authorTim King <taking@google.com>2022-04-14 21:29:49 -0700
committerTim King <taking@google.com>2022-04-20 20:19:07 +0000
commit5d7ca8a1b5bc80222ed6375e345ba8b6e24e9515 (patch)
treeab5ffc8550724b91e82bd40bb169705e76235b04 /cmd/ssadump/main.go
parent48a2cc8a0dedac636c66bb5f095ad46073e0a288 (diff)
downloadgolang-x-tools-5d7ca8a1b5bc80222ed6375e345ba8b6e24e9515.tar.gz
go/ssa: return nil on parameterized types on MethodValue.
MethodValue now checks if a type is parameterized types and returns nil instead of proceeding. Parameterized types are not runtime types so they should not have method sets created or be added to Prog.methodSet. This is similar to what MethodValue previously did for interfaces. Updates golang/go#48525 Change-Id: Ib9026ddc0167fd71afd3e5c194aadf20411b9cdf Reviewed-on: https://go-review.googlesource.com/c/tools/+/400515 Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com> Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'cmd/ssadump/main.go')
0 files changed, 0 insertions, 0 deletions