]> Cypherpunks.ru repositories - gostls13.git/commit
go/types, types2: add a test case to ConvertibleTo
authorRobert Griesemer <gri@golang.org>
Thu, 14 Oct 2021 19:41:29 +0000 (12:41 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 14 Oct 2021 21:08:41 +0000 (21:08 +0000)
commit0400d536e4f349c8f30777c975af78b6a19e73b4
treeafd2bf4bd34fed46f67d340c191b4b2b87920e35
parent440b63bd6f29ad1efd747db9d137a844a3621bdc
go/types, types2: add a test case to ConvertibleTo

string(int) conversions are somewhat special and deserve an entry.

Change-Id: Ia68d047cfdb2f98e837bf663659f7f46404b16ac
Reviewed-on: https://go-review.googlesource.com/c/go/+/355989
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/api_test.go
src/go/types/api_test.go