1
0
mirror of https://github.com/golang/go synced 2024-10-01 01:38:33 -06:00
go/internal/lsp/cache
Edward Muller 7deaedd405 internal/lsp/cache: clean up parse.go
switch the ioLimit channel from a bool to a struct{} as the values
stuffed into the channel have no meaning.

A mix of consistency and comment cleanups in *importer.parseFiles.

sameFile is reported as unused, so removed, removing some now unused
imports.

The assignment to lit in *view.parseDeferOrGoStmt's for{} loop was
reported as ineffective.

Update the comment of fix a little for clarity.

Change-Id: I50f0442bfd7e4d0cc0e6fdadbf1f6272366a716c

Change-Id: I50f0442bfd7e4d0cc0e6fdadbf1f6272366a716c
GitHub-Last-Rev: 74d8a8bdb768a827db3c1fd1723a528818e222ee
GitHub-Pull-Request: golang/tools#109
Reviewed-on: https://go-review.googlesource.com/c/tools/+/179957
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Run-TryBot: Rebecca Stambler <rstambler@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2019-07-30 20:51:20 +00:00
..
cache.go internal/lsp: remove the non context xlog path 2019-07-15 03:45:47 +00:00
check.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
external.go internal/lsp: reduce trace package to minimal StartSpan for now 2019-07-11 17:25:55 +00:00
file.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
gofile.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
load.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
modfile.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
parse.go internal/lsp/cache: clean up parse.go 2019-07-30 20:51:20 +00:00
pkg.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
session.go internal/lsp: convert logging calls 2019-07-18 19:03:12 +00:00
sumfile.go internal/lsp: cache the *ast.File and *token.File on the package 2019-07-16 19:44:59 +00:00
token.go internal/lsp: separate refactorings out of memoization CL 2019-06-25 16:04:30 +00:00
view.go internal/lsp: compare mod file versions used in imports 2019-07-27 17:31:35 +00:00
watcher.go internal/lsp: fix deadlocks loading lots of files at once 2019-07-03 17:22:52 +00:00