x/tools/go/packages: document that different package loads lead to different type identities #61418
Labels
Documentation
NeedsFix
The path to resolution is known, but the work has not been done.
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
When loading the same set of packages twice, user-defined types are not guaranteed to have the same type identity.
This should be explicitly documented.
See #61412 for an example where not understanding this property causes problems.
cc: @findleyr @alandonovan
The text was updated successfully, but these errors were encountered: