mirror of
https://github.com/golang/go
synced 2024-11-25 00:28:00 -07:00
fd1b5904ae
The importer type param index used package name type parameter key, causing type parameters to be reused/overwritten if two packages in the import graph had the same combination of (name, declaration name, type parameter name). Fix this by instead using the *Package in the key. Fixes #51836 Change-Id: I881ceaf3cf7c1ab4e0835962350feb552e79b233 Reviewed-on: https://go-review.googlesource.com/c/go/+/394219 Trust: Robert Findley <rfindley@google.com> Run-TryBot: Robert Findley <rfindley@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@golang.org> |
||
---|---|---|
.. | ||
a.go | ||
aa.go | ||
p.go |