aboutsummaryrefslogtreecommitdiff
path: root/internal/gcimporter/support_go117.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gcimporter/support_go117.go')
-rw-r--r--internal/gcimporter/support_go117.go16
1 files changed, 16 insertions, 0 deletions
diff --git a/internal/gcimporter/support_go117.go b/internal/gcimporter/support_go117.go
new file mode 100644
index 000000000..d892273ef
--- /dev/null
+++ b/internal/gcimporter/support_go117.go
@@ -0,0 +1,16 @@
+// Copyright 2021 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+//go:build !go1.18
+// +build !go1.18
+
+package gcimporter
+
+import "go/types"
+
+const iexportVersion = iexportVersionGo1_11
+
+func additionalPredeclared() []types.Type {
+ return nil
+}