The options are all unexported, and this CL is (almost) a no-op: the one difference is that since needImports and needSyntax are now independently specified, LoadSyntax and LoadAllSyntax are equivalent, because LoadSyntax needs both the needImports and needSyntax bits. I want to pin down the options that we want to split into, and future CLs can allow the options to be used individually... Updates golang/go#29429 Updates golang/go#29427 Change-Id: I5b2913e2c53e7ade56905e46912b076ccc339827 Reviewed-on: https://go-review.googlesource.com/c/tools/+/162140 Run-TryBot: Michael Matloob <matloob@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Cottrell <iancottrell@google.com> Reviewed-by: Jay Conrod <jayconrod@google.com> |
||
---|---|---|
.. | ||
gopackages | ||
packagestest | ||
testdata | ||
doc.go | ||
example_test.go | ||
external.go | ||
golist.go | ||
golist_overlay.go | ||
packages.go | ||
packages110_test.go | ||
packages_test.go | ||
packagescgo_test.go | ||
stdlib_test.go | ||
visit.go |