mirror of
https://github.com/golang/go
synced 2024-11-19 00:44:40 -07:00
5a103c92be
ApplyFixes is only used by gopls, which cares a lot about files with syntax errors, and not at all about files that aren't structurally valid. Use the standard ParseFile function instead of goimports' weird one. Adding a test is impractical because it seems to break type checking of whatever package it's in. Fixes golang/go#35915. Change-Id: Iaf0e331978415428a422d942a1e0c5f6e66dc8a1 Reviewed-on: https://go-review.googlesource.com/c/tools/+/209579 Reviewed-by: Rebecca Stambler <rstambler@golang.org> |
||
---|---|---|
.. | ||
apidiff | ||
fastwalk | ||
gopathwalk | ||
imports | ||
jsonrpc2 | ||
lsp | ||
memoize | ||
module | ||
semver | ||
span | ||
telemetry | ||
testenv | ||
tool | ||
xcontext |