]> Cypherpunks repositories - gostls13.git/commit
go/types: return typeHash value without blanks
authorRobert Griesemer <gri@golang.org>
Tue, 21 Sep 2021 03:45:09 +0000 (20:45 -0700)
committerRobert Griesemer <gri@golang.org>
Tue, 21 Sep 2021 20:28:43 +0000 (20:28 +0000)
commitebc6ce40ceb587af54dfcac910931606fe2d9a66
tree9d648ad7312e8d01c864a531e2644263a9e1d3e6
parent7dfe686a91a60a135deb2b64d28bcc010ba90b15
go/types: return typeHash value without blanks

This is an adjusted port of CL 349990 from types2 to go/types:
typeHash remains unexported but is adjusted to not contain blanks.

Change-Id: I37fa826b8a185e3c275ae9bea29a3b0ed386d2c9
Reviewed-on: https://go-review.googlesource.com/c/go/+/351171
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/go/types/environment.go
src/go/types/typestring.go