1
0
mirror of https://github.com/golang/go synced 2024-11-19 00:14:39 -07:00
go/internal/lsp/testdata/imports
Heschi Kreinick 7d206e10da internal/lsp/source: start import diffs at byte 0
I assumed that f.Pos() would be the first byte of the file, but it's the
position of the package declaration. This kills the file. Just use 0.

Fixes golang/go#35458.

Change-Id: Ic77c93344c71435ef8e5624c2f2defb619139a15
Reviewed-on: https://go-review.googlesource.com/c/tools/+/206145
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
2019-11-08 19:30:12 +00:00
..
add_import.go.golden internal/lsp/source: don't format the whole file when adding imports 2019-11-07 22:26:10 +00:00
add_import.go.in internal/lsp/source: don't format the whole file when adding imports 2019-11-07 22:26:10 +00:00
good_imports.go.golden internal/lsp/source: don't format the whole file when adding imports 2019-11-07 22:26:10 +00:00
good_imports.go.in internal/lsp/source: don't format the whole file when adding imports 2019-11-07 22:26:10 +00:00
issue35458.go.golden internal/lsp/source: start import diffs at byte 0 2019-11-08 19:30:12 +00:00
issue35458.go.in internal/lsp/source: start import diffs at byte 0 2019-11-08 19:30:12 +00:00
multiple_blocks.go.golden internal/lsp/source: don't format the whole file when adding imports 2019-11-07 22:26:10 +00:00
multiple_blocks.go.in internal/lsp/source: don't format the whole file when adding imports 2019-11-07 22:26:10 +00:00
needs_imports.go.golden internal/lsp: fix regeneration of golden files 2019-09-25 13:16:59 +00:00
needs_imports.go.in internal/lsp/source: don't format the whole file when adding imports 2019-11-07 22:26:10 +00:00
remove_import.go.golden internal/lsp/source: don't format the whole file when adding imports 2019-11-07 22:26:10 +00:00
remove_import.go.in internal/lsp/source: don't format the whole file when adding imports 2019-11-07 22:26:10 +00:00
remove_imports.go.golden internal/lsp/source: don't format the whole file when adding imports 2019-11-07 22:26:10 +00:00
remove_imports.go.in internal/lsp/source: don't format the whole file when adding imports 2019-11-07 22:26:10 +00:00