diff options
author | Robert Griesemer <gri@golang.org> | 2021-08-04 12:27:26 -0700 |
---|---|---|
committer | Robert Griesemer <gri@golang.org> | 2021-08-05 19:36:56 +0000 |
commit | c5b6c36ddd0ecdee401c4e78da1addf64bdc6376 (patch) | |
tree | 13478d2f46788b7a40b6d394a4196930731b0e9a /src/cmd/compile/internal/types2/union.go | |
parent | f14908d01b8c4832f9ad3939165d5eec969635e1 (diff) | |
download | go-c5b6c36ddd0ecdee401c4e78da1addf64bdc6376.tar.gz go-c5b6c36ddd0ecdee401c4e78da1addf64bdc6376.zip |
[dev.typeparams] cmd/compile/internal/types2: remove TestIncompleteInterfaces (cleanup)
TestIncompleteInterfaces is not useful anymore because interface
printing always shows the syntactic type structure of an interface.
Also remove the respective support code in interface printing and
simplify that code.
Move the newDefined and nopos support declarations unchanged into
api_test.go where they are used.
Updates #46167.
Change-Id: I23e303bc4ae4271912ba75f201bd2b7cd4a17b3e
Reviewed-on: https://go-review.googlesource.com/c/go/+/339832
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
Diffstat (limited to 'src/cmd/compile/internal/types2/union.go')
0 files changed, 0 insertions, 0 deletions