aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/cache/parsemode_go117.go
diff options
context:
space:
mode:
Diffstat (limited to 'gopls/internal/lsp/cache/parsemode_go117.go')
-rw-r--r--gopls/internal/lsp/cache/parsemode_go117.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/gopls/internal/lsp/cache/parsemode_go117.go b/gopls/internal/lsp/cache/parsemode_go117.go
new file mode 100644
index 000000000..e2c9fb915
--- /dev/null
+++ b/gopls/internal/lsp/cache/parsemode_go117.go
@@ -0,0 +1,12 @@
+// Copyright 2022 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.17
+// +build go1.17
+
+package cache
+
+import "go/parser"
+
+const skipObjectResolution = parser.SkipObjectResolution