]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/types2: refer to structural rather than single underlying type...
authorRobert Griesemer <gri@golang.org>
Wed, 10 Nov 2021 17:33:53 +0000 (09:33 -0800)
committerRobert Griesemer <gri@golang.org>
Wed, 10 Nov 2021 18:24:20 +0000 (18:24 +0000)
commit23dd389ac6ef59210580614c4a73e0d0a13c2911
tree1512f860cb40b3d237a4ab2838a3a2747a5865ea
parent6406e09f69c70b10cab58702f10456a3e9a83bef
cmd/compile/internal/types2: refer to structural rather than single underlying type in errors

This brings the error messages in sync with the terminology that
will be used it the spec.

Change-Id: Ia05993776c649be9eb2cdf948a583b9a49f9b192
Reviewed-on: https://go-review.googlesource.com/c/go/+/362997
Reviewed-by: Robert Findley <rfindley@google.com>
Trust: Robert Griesemer <gri@golang.org>
src/cmd/compile/internal/types2/builtins.go
src/cmd/compile/internal/types2/index.go
src/cmd/compile/internal/types2/stmt.go
src/cmd/compile/internal/types2/testdata/check/builtins.go2
src/cmd/compile/internal/types2/testdata/check/typeparams.go2