]> Cypherpunks repositories - gostls13.git/commit
go/types: update test case to exercise mutually recursive interfaces
authorRob Findley <rfindley@google.com>
Mon, 6 Jul 2020 20:45:46 +0000 (16:45 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 24 Aug 2020 16:41:53 +0000 (16:41 +0000)
commit494ec85d9fd6deea388c454dfd836d9f845f7153
treeb2fc22b3785141b8fe80cc965ec9c67c6cc7bc07
parent3a7f8ccf246a5929458a7f818c1d4c125ac72892
go/types: update test case to exercise mutually recursive interfaces

Due to a typo, this test case was not actually exercising the bug
described in golang/go#33656. Update it to do so. Interestingly, the
comparison is now valid (as it should be) -- I suspect #33656 is
actually fixed.

Fixes #33656

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