]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: be sure to export types mentioned in f.i.g. method signature
authorDavid Chase <drchase@google.com>
Tue, 10 May 2022 16:52:52 +0000 (12:52 -0400)
committerDavid Chase <drchase@google.com>
Tue, 10 May 2022 19:15:31 +0000 (19:15 +0000)
commit1284cc24955487192fb7fb5aea934cb13fd1ae73
tree1c7f27e15461d1a3614f8cd208c4fe16280e5c02
parent508cb32d4be3f71f2975ee978a474eb7d95d868a
cmd/compile: be sure to export types mentioned in f.i.g. method signature

When a fully instantiated generic method is exported, be sure to also
export the types in its signature.

Fixes #52279.

Change-Id: Icc6bca05b01f914cf67faaf1bf184eaa5484f521
Reviewed-on: https://go-review.googlesource.com/c/go/+/405118
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/typecheck/crawler.go
test/fixedbugs/issue52279.dir/lib.go [new file with mode: 0644]
test/fixedbugs/issue52279.dir/main.go [new file with mode: 0644]
test/fixedbugs/issue52279.go [new file with mode: 0644]