aboutsummaryrefslogtreecommitdiff
path: root/src/internal/pkgbits/decoder.go
diff options
context:
space:
mode:
authorDavid Chase <drchase@google.com>2022-05-16 17:50:31 -0400
committerDavid Chase <drchase@google.com>2022-05-24 20:35:40 +0000
commitccf84a97501b1cc894536162479279df1e165fc5 (patch)
tree114a4c22b0ee0950aead462d0a4b4bcf9801d95a /src/internal/pkgbits/decoder.go
parent0a30cf9536f06d52a214370e9eeb03f8bcfc1e6a (diff)
downloadgo-ccf84a97501b1cc894536162479279df1e165fc5.tar.xz
cmd/compile: catch pointless recursion on function types
If a function type has no type parameters, note when it is visited and do not recur. (It must be visited at least once because of closures and their associated types occurring in a generic context). Fixes #51832. Change-Id: Iee20612ffd0a03b838b9e59615f4a0206fc8940b Reviewed-on: https://go-review.googlesource.com/c/go/+/406714 Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/internal/pkgbits/decoder.go')
0 files changed, 0 insertions, 0 deletions