diff options
Diffstat (limited to 'loader/loader_go118.go')
-rw-r--r-- | loader/loader_go118.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/loader/loader_go118.go b/loader/loader_go118.go deleted file mode 100644 index d545160e7..000000000 --- a/loader/loader_go118.go +++ /dev/null @@ -1,18 +0,0 @@ -//go:build go1.18 -// +build go1.18 - -package loader - -// Workaround for Go 1.17 support. Should be removed once we drop Go 1.17 -// support. - -import ( - "go/ast" - "go/types" -) - -func init() { - addInstances = func(info *types.Info) { - info.Instances = make(map[*ast.Ident]types.Instance) - } -} |