aboutsummaryrefslogtreecommitdiff
path: root/src/go/types/builtins.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/types/builtins.go')
-rw-r--r--src/go/types/builtins.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/go/types/builtins.go b/src/go/types/builtins.go
index aae05438cd..c73d94658a 100644
--- a/src/go/types/builtins.go
+++ b/src/go/types/builtins.go
@@ -844,7 +844,7 @@ func (check *Checker) applyTypeFunc(f func(Type) Type, x Type) Type {
ptyp := check.NewTypeParam(tpar, &emptyInterface) // assigns type to tpar as a side-effect
ptyp.index = tp.index
tsum := newUnion(rtypes, tildes)
- ptyp.bound = &Interface{complete: true, tset: &TypeSet{types: tsum}}
+ ptyp.bound = &Interface{complete: true, tset: &_TypeSet{types: tsum}}
return ptyp
}