aboutsummaryrefslogtreecommitdiff
path: root/src/go/internal/gcimporter/support.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/go/internal/gcimporter/support.go')
-rw-r--r--src/go/internal/gcimporter/support.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/go/internal/gcimporter/support.go b/src/go/internal/gcimporter/support.go
index b8bb14dc49..09810dd85b 100644
--- a/src/go/internal/gcimporter/support.go
+++ b/src/go/internal/gcimporter/support.go
@@ -122,6 +122,9 @@ var predeclared = []types.Type{
// used internally by gc; never used by this package or in .a files
anyType{},
+
+ // comparable
+ types.Universe.Lookup("comparable").Type(),
}
type anyType struct{}