1
0
mirror of https://github.com/golang/go synced 2024-11-05 17:36:15 -07:00
go/test/fixedbugs/issue52279.dir/main.go
David Chase 1284cc2495 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>
2022-05-10 19:15:31 +00:00

6 lines
65 B
Go

package main
import "./lib"
func main() { lib.FIRST.String() }