1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:04:46 -07:00
go/internal/lsp/cache
Rebecca Stambler 2de6fe5e3e internal/lsp: return error if there is no builtin package
When we stopped returning an error from awaitInitialized, we didn't
handle this case in LookupBuiltin.

Fixes golang/go#36975.

Change-Id: I9668a7148f60ca1f9cad953d46caf6ec5500541e
Reviewed-on: https://go-review.googlesource.com/c/tools/+/217399
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-02-03 17:52:18 +00:00
..
analysis.go internal/lsp/cache: handle invalid analysis Pos 2020-01-29 01:28:57 +00:00
cache.go internal/lsp/source: don't allow mutating DefaultOptions 2020-01-31 15:48:08 +00:00
check.go internal/lsp/cache: add context cancellation check inside importerFunc 2020-01-31 18:31:50 +00:00
debug.go internal/lsp/cache: add Env to debugView 2020-01-31 20:48:24 +00:00
error_test.go internal/lsp: refactor error handling code in type-checking 2019-10-21 18:57:46 +00:00
errors.go internal/lsp: don't show list errors unless necessary 2020-01-27 19:59:09 +00:00
external.go internal/lsp: check that a file handle is unmodified before read 2020-01-23 20:52:07 +00:00
load.go internal/lsp: set workspace packages during (*snapshot).load 2020-01-30 00:17:45 +00:00
mod_tidy.go internal/lsp: surface missing dependencies for imports not in go.mod 2020-01-27 22:30:17 +00:00
overlay.go internal/lsp: support multiple URIs in (*view).invalidateContent 2020-01-23 20:19:14 +00:00
parse.go internal/lsp/cache: refactor a few small things 2020-02-03 02:30:11 +00:00
pkg.go internal/lsp: push more build-specific logic into the view 2020-01-24 21:10:25 +00:00
session.go internal/lsp: push more build-specific logic into the view 2020-01-24 21:10:25 +00:00
snapshot.go internal/lsp: set workspace packages during (*snapshot).load 2020-01-30 00:17:45 +00:00
view.go internal/lsp: return error if there is no builtin package 2020-02-03 17:52:18 +00:00