diff options
author | Andrew Bonventre <andybons@golang.org> | 2018-02-12 20:09:58 +0000 |
---|---|---|
committer | Andrew Bonventre <andybons@golang.org> | 2018-02-12 20:10:09 +0000 |
commit | 3b6abd8a4501d816e80b4d46e6fda4df486ccb66 (patch) | |
tree | 17aeab975e50639475fca1093e048317a6fbea78 /src/cmd/fix | |
parent | b83d7f72537bdc0cec2e949d73ae40fbd42b7c63 (diff) | |
download | go-git-3b6abd8a4501d816e80b4d46e6fda4df486ccb66.tar.gz |
Revert "[release-branch.go1.10] all: merge master into release-branch.go1.10"
This reverts commit b83d7f72537bdc0cec2e949d73ae40fbd42b7c63.
Reason for revert: wrong branch
Change-Id: I28ebb121f7b3e331729e8a6a00961b876f3dd0f2
Reviewed-on: https://go-review.googlesource.com/93455
Reviewed-by: Andrew Bonventre <andybons@golang.org>
Diffstat (limited to 'src/cmd/fix')
-rw-r--r-- | src/cmd/fix/cftype.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/fix/cftype.go b/src/cmd/fix/cftype.go index b47b06682a..df1cc18f9e 100644 --- a/src/cmd/fix/cftype.go +++ b/src/cmd/fix/cftype.go @@ -119,7 +119,7 @@ func typefix(f *ast.File, badType func(string) bool) bool { if !ok { return } - t, ok := s.X.(*ast.SelectorExpr) + t := s.X.(*ast.SelectorExpr) if !ok { return } |