mirror of
https://github.com/golang/go
synced 2024-10-01 01:38:33 -06:00
7deaedd405
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> |
||
---|---|---|
.. | ||
cache.go | ||
check.go | ||
external.go | ||
file.go | ||
gofile.go | ||
load.go | ||
modfile.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
sumfile.go | ||
token.go | ||
view.go | ||
watcher.go |