aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorAndrew Bonventre <andybons@golang.org>2018-02-12 15:05:15 -0500
committerAndrew Bonventre <andybons@golang.org>2018-02-12 15:06:08 -0500
commitb83d7f72537bdc0cec2e949d73ae40fbd42b7c63 (patch)
treee5d6e0f392ace9107ddea3a72a82f9b2ecc0bcef /src/cmd
parent20e228f2fdb44350c858de941dff4aea9f3127b8 (diff)
parent74b56022a1f834b3edce5c3eca0570323ac90cd7 (diff)
downloadgo-b83d7f72537bdc0cec2e949d73ae40fbd42b7c63.tar.xz
[release-branch.go1.10] all: merge master into release-branch.go1.10
* 74b56022a1 doc: note that x509 cert parsing rejects some more certs now * c52e27e68d CONTRIBUTING: remove Pull Request bit * 829b64c1ea cmd/fix: fix cast check * ee59f6dff2 doc: minor wording improvement to the diagnostics guide * c6e7330ebd all: remove PULL_REQUEST_TEMPLATE from .github * d814c2be9b doc: remove Pull Request note in README.md * 104445e314 doc: document Go 1.9.4 and Go 1.8.7 Change-Id: I58bfc6800964504258690d774a9b0aeaba509086
Diffstat (limited to 'src/cmd')
-rw-r--r--src/cmd/fix/cftype.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/fix/cftype.go b/src/cmd/fix/cftype.go
index df1cc18f9e..b47b06682a 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 := s.X.(*ast.SelectorExpr)
+ t, ok := s.X.(*ast.SelectorExpr)
if !ok {
return
}