]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] merge master (2f0da6d) into dev.typeparams
authorRob Findley <rfindley@google.com>
Wed, 17 Feb 2021 21:34:00 +0000 (16:34 -0500)
committerRob Findley <rfindley@google.com>
Thu, 18 Feb 2021 01:04:03 +0000 (20:04 -0500)
commitf5d0c653e68589f835df7f9a832f2cb9df0b3931
treebbc5e1d9bfa06d9cc18f9b750d44c404fe3001d2
parente196cb8258647652f552757d024b261731d95218
parent2f0da6d9e29d9b9d5a4d10427ca9f71d12bbacc8
[dev.typeparams] merge master (2f0da6d) into dev.typeparams

This was a mostly clean merge, with the exception of codereview.cfg and
changes in src/go/types.

codereview.cfg for dev.typeparams is preserved in this CL. It should be
deleted before merging back to master.

The go/types changes were merged manually. For the most part this
involved taking the union of patches, with the following exceptions:
 + declInfo.aliasPos is removed, as it is not necessary in
   dev.typeparams where we have access to the full TypeSpec.
 + Checker.overflow is updated to use the asBasic converter.
 + A TODO is added to errorcodes.go to ensure that go1.16 error codes
   are preserved.

Change-Id: If9595196852e2163e27a9478df1e7b2c3704947d
17 files changed:
src/cmd/dist/test.go
src/go/types/api.go
src/go/types/assignments.go
src/go/types/builtins.go
src/go/types/check.go
src/go/types/check_test.go
src/go/types/decl.go
src/go/types/errorcodes.go
src/go/types/eval_test.go
src/go/types/expr.go
src/go/types/predicates.go
src/go/types/resolver.go
src/go/types/testdata/builtins.src
src/go/types/testdata/stmt0.src
src/go/types/type.go
src/go/types/typexpr.go
test/run.go