1
0
mirror of https://github.com/golang/go synced 2024-11-05 14:36:11 -07:00
go/refactor/rename
Alan Donovan fc2b74b64e refactor/rename: don't stop because of "soft" errors
Because go/types is slightly more strict than gc about certain "soft"
errors (ones that aren't necessary to interpret a Go program), gorename
rejects programs that compile under gc.  This change relaxes gorename's
error checks so that they are weaker than gc's.

This is a workaround for issue golang/go#14596 in gorename,
whose underlying problem is issue golang/go#8560 in gc.

Fixes golang/go#14596

Change-Id: Ica5006c2376c0564a575224269093c1497348ee6
Reviewed-on: https://go-review.googlesource.com/29853
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-09-27 16:36:09 +00:00
..
check.go tools: switch to standard go/types at tip 2016-01-06 22:15:26 +00:00
go-rename.el cmd/gorename: emacs: do not auto shrink error window 2016-03-07 15:44:52 +00:00
mvpkg_test.go refactor/rename: fix two bugs related to MS Windows' path separator 2016-07-15 14:58:04 +00:00
mvpkg.go refactor/rename: fix two bugs related to MS Windows' path separator 2016-07-15 14:58:04 +00:00
rename_test.go refactor/rename: don't stop because of "soft" errors 2016-09-27 16:36:09 +00:00
rename.go refactor/rename: don't stop because of "soft" errors 2016-09-27 16:36:09 +00:00
spec.go refactor/rename: fix crash with "." as -from package 2016-01-08 19:32:44 +00:00
util.go refactor/rename: do not allow a new name to be a keyword 2016-08-20 16:15:16 +00:00