1
0
mirror of https://github.com/golang/go synced 2024-09-30 16:28:32 -06:00
go/internal/imports
Heschi Kreinick 54c614fe05 internal/imports: continue past parse errors
A user that's editing packages in their workspace may introduce parse
errors (missing package statement), but we still want to be able to add
imports for them. Continue past parse errors.

Fixes golang/go#39315.

Change-Id: I3bbf428e7b9ef32a87258af2dafbe0d7b86b7348
Reviewed-on: https://go-review.googlesource.com/c/tools/+/237686
Run-TryBot: Heschi Kreinick <heschi@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2020-06-12 22:08:49 +00:00
..
testdata/mod imports: rename to internal/imports 2019-05-20 21:49:35 +00:00
fix_test.go internal/imports: only check first segment for . 2020-05-15 21:25:07 +00:00
fix.go internal/imports: continue past parse errors 2020-06-12 22:08:49 +00:00
imports_test.go internal/lsp/cache: add concurrency error check for go cmds 2020-04-08 03:22:09 +00:00
imports.go internal/lsp/cache: add concurrency error check for go cmds 2020-04-08 03:22:09 +00:00
mkindex.go imports: rename to internal/imports 2019-05-20 21:49:35 +00:00
mkstdlib.go internal/imports: update stdlib index for 1.14 2020-04-20 00:18:25 +00:00
mod_cache_test.go internal/imports: clean up dead code 2019-12-30 21:21:44 +00:00
mod_cache.go internal/imports: stop leaking listeners 2020-02-04 05:47:48 +00:00
mod_test.go all: remove version-specific test files 2020-05-28 17:13:50 +00:00
mod.go cmd/godoc: support automatic vendoring 2020-06-09 06:04:08 +00:00
sortimports.go internal/imports: merge import declarations 2019-08-14 23:54:02 +00:00
zstdlib.go internal/imports: update stdlib index for 1.14 2020-04-20 00:18:25 +00:00