1
0
mirror of https://github.com/golang/go synced 2024-09-30 12:18:33 -06:00
go/refactor
Alan Donovan b3887f7a17 refactor/rename: fix spurious conflict report when renaming x/foo to y/foo
There is no need to check for import conflicts when the package name
doesn't change.  Add test.

Also, when reporting a (non-spurious) import conflict, make clear that
the error is just a warning.  Add a test for same.

Change-Id: Idde0483b502cd041fd893230fec06b8533f54f3c
Reviewed-on: https://go-review.googlesource.com/24917
Reviewed-by: Michael Matloob <matloob@golang.org>
2016-07-14 18:43:43 +00:00
..
eg refactor/eg: fix build after deletion of x/tools/go/types 2016-04-06 22:02:45 +00:00
importgraph refactor/importgraph: document that graphs are cyclic 2016-03-03 22:47:59 +00:00
rename refactor/rename: fix spurious conflict report when renaming x/foo to y/foo 2016-07-14 18:43:43 +00:00
satisfy x/tools: remove remaining files tagged for Go 1.4 2016-04-12 18:58:24 +00:00
README go.tools: use golang.org/x/... import paths 2014-11-10 08:50:40 +11:00

golang.org/x/tools/refactor: libraries for refactoring tools.