aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/typeset.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/types/typeset.go')
-rw-r--r--src/go/types/typeset.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/go/types/typeset.go b/src/go/types/typeset.go
index 206aa3da08..4cd118a226 100644
--- a/src/go/types/typeset.go
+++ b/src/go/types/typeset.go
@@ -302,7 +302,6 @@ func computeInterfaceTypeSet(check *Checker, pos token.Pos, ityp *Interface) *_T
// separately. Here we only need to intersect the term lists and comparable bits.
allTerms, allComparable = intersectTermLists(allTerms, allComparable, terms, comparable)
}
- ityp.embedPos = nil // not needed anymore (errors have been reported)
ityp.tset.comparable = allComparable
if len(allMethods) != 0 {