]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: remove remaining mentions of core type in error messages
authorRobert Griesemer <gri@golang.org>
Mon, 3 Mar 2025 20:26:51 +0000 (12:26 -0800)
committerGopher Robot <gobot@golang.org>
Mon, 3 Mar 2025 21:41:04 +0000 (13:41 -0800)
commit7e81bcf39fe40e975e2c72375ab28ae9bf272d62
tree9aed0e63b17a20349b235df93050b878d5deb55d
parent0a0e6af39b0ff38f7d5a8a9f3f6d38ebc081663f
go/types, types2: remove remaining mentions of core type in error messages

The implementatiom still calls coreType in places and refers to
"core types" in comments, but user-visible error messages don't
know about core types anymore.

This brings the user-visible part of the implementation in sync with
the spec which doesn't have the notion of core types anymore.

For #70128.

Change-Id: I14bc6767a83e8f54b10ebe99a7df0b98cd9fca87
Reviewed-on: https://go-review.googlesource.com/c/go/+/654395
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Robert Findley <rfindley@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
src/cmd/compile/internal/types2/index.go
src/cmd/compile/internal/types2/infer.go
src/cmd/compile/internal/types2/signature.go
src/go/types/index.go
src/go/types/infer.go
src/go/types/signature.go
src/internal/types/testdata/check/typeparams.go