mirror of
https://github.com/golang/go
synced 2024-11-18 10:34:51 -07:00
c537a342dd
We were previously behaving as though the slice/map values in the options struct could be modified directly. The options should be cloned before modification. Also, convert any usage of source.Options to *source.Options. Fixes golang/go#39592 Change-Id: Ib39f668bca0fa1038162206bd7793fd2049af576 Reviewed-on: https://go-review.googlesource.com/c/tools/+/254558 Trust: Rebecca Stambler <rstambler@golang.org> Run-TryBot: Rebecca Stambler <rstambler@golang.org> gopls-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> |
||
---|---|---|
.. | ||
analysis.go | ||
cache.go | ||
check.go | ||
error_test.go | ||
errors.go | ||
keys.go | ||
load.go | ||
mod_tidy.go | ||
mod.go | ||
os_darwin.go | ||
os_windows.go | ||
parse_test.go | ||
parse.go | ||
pkg.go | ||
session.go | ||
snapshot.go | ||
view_test.go | ||
view.go |