1
0
mirror of https://github.com/golang/go synced 2024-10-01 20:38:32 -06:00
go/internal/lsp/testdata/bad
Rebecca Stambler de666e9706 internal/lsp: add a test to make sure we handle bad imports
There was a regression where gopls would not type-check any package with
a bad import. This change fixes the regression and adds a test to make
sure it doesn't happen again.

Change-Id: I3acf0917d46e9444c20135559f057f0ecd20e15b
Reviewed-on: https://go-review.googlesource.com/c/tools/+/201539
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Ian Cottrell <iancottrell@google.com>
2019-10-17 20:52:05 +00:00
..
bad0.go internal/lsp: move function signature into detail instead of label 2019-07-03 21:07:46 +00:00
bad1.go go/expect: support markers in comments in go/packagestest 2019-10-17 15:15:54 +00:00
badimport.go internal/lsp: add a test to make sure we handle bad imports 2019-10-17 20:52:05 +00:00