]> Cypherpunks.ru repositories - gostls13.git/commit
go/types: make Interface.Complete a no-op
authorRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 01:50:42 +0000 (21:50 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 16 Aug 2021 18:42:49 +0000 (18:42 +0000)
commitfda8ee8b077dd8a5819cac7c52c3af1499a0674e
tree3fc517b000e59b8f96d23a375b24a2fb89962068
parente61d1445ab2304e2d6e4711f8477061192d5942c
go/types: make Interface.Complete a no-op

This is a partial port of CL 340255 to go/types. Of course we can't
delete Interface.Complete, but make it a no-op.

Completing interfaces is no longer necessary.

Change-Id: Ida3c84cc94713f14a646c7682f5d4ae5339a0faa
Reviewed-on: https://go-review.googlesource.com/c/go/+/342489
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/internal/gcimporter/iimport.go
src/go/types/interface.go
src/go/types/issues_test.go