tools/go
Rhys Hiltner af95c112ad go/ast/astutil: do not remove imports in AddNamedImport
When adding imports to an existing import declaration, ensure that
the target declaration will be printed with parentheses. This allows
all of the imported packages to be printed, not just the first one.

Fixes golang/go#17212

Change-Id: Ie5de5ec9bca6169650336ee2ea98334817e64e48
Reviewed-on: https://go-review.googlesource.com/29688
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
2016-10-18 18:48:44 +00:00
..
ast/astutil go/ast/astutil: do not remove imports in AddNamedImport 2016-10-18 18:48:44 +00:00
buildutil x/tools: s/oracle/guru/g in various comments 2016-10-13 18:54:04 +00:00
callgraph x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
gcimporter15 go/gcimporter15: update exportdata.go to match latest version from std lib 2016-10-06 19:19:18 +00:00
loader x/tools: s/oracle/guru/g in various comments 2016-10-13 18:54:04 +00:00
pointer x/tools: s/oracle/guru/g in various comments 2016-10-13 18:54:04 +00:00
ssa go/ssa/interp: turn {strings,bytes}.init into no-ops 2016-09-07 20:36:55 +00:00
types/typeutil x/tools: delete x/tools/go/types and dependent packages/client files 2016-04-06 21:52:49 +00:00
vcs go/vcs: accept plain file for .vcs (instead of directory) 2016-10-13 13:57:49 +00:00