]> Cypherpunks repositories - gostls13.git/commit
go/types: don't type-check method signatures eagerly anymore
authorRobert Griesemer <gri@golang.org>
Thu, 4 Oct 2018 23:20:48 +0000 (16:20 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 5 Oct 2018 17:56:17 +0000 (17:56 +0000)
commit8ae8576abf483cf928eb0f63bc55c09c7bf73576
tree243ed4206687a53f4226462722ac4bc7ae78eb1d
parentbf9240681dec2664f6acc1695e517e985d2b85d3
go/types: don't type-check method signatures eagerly anymore

As a side-effect we also get slightly clearer errors for some
pathological cyclic method declarations.

Fixes #23203.
Updates #26854.

Change-Id: I30bd6634ac6be26d3f4ef8c7b32e5c1bf76987dd
Reviewed-on: https://go-review.googlesource.com/c/139897
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/types/check_test.go
src/go/types/decl.go
src/go/types/testdata/decls0.src
src/go/types/testdata/issue23203a.src [new file with mode: 0644]
src/go/types/testdata/issue23203b.src [new file with mode: 0644]