]> Cypherpunks repositories - gostls13.git/commit
go/types: add tests for AssignableTo and ConvertibleTo
authorRob Findley <rfindley@google.com>
Wed, 1 Jul 2020 22:10:02 +0000 (18:10 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 24 Aug 2020 16:35:21 +0000 (16:35 +0000)
commit3a7f8ccf246a5929458a7f818c1d4c125ac72892
tree1e388d049e1f7aff2ca78336a60fb813275d512c
parentd556c251a1f1506f68e1e4064c3537948ff667a3
go/types: add tests for AssignableTo and ConvertibleTo

These exported functions are mostly trivial wrappers, but do make
certain assumptions about how the underlying Checker APIs can be called.
Add some simple tests.

Change-Id: I68e9ae875353c12d118ec961a6f3834385fbbb97
Reviewed-on: https://go-review.googlesource.com/c/go/+/241262
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/api_test.go