]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/fix: fix cast check
authorKeith Randall <khr@golang.org>
Fri, 9 Feb 2018 19:21:37 +0000 (11:21 -0800)
committerKeith Randall <khr@golang.org>
Fri, 9 Feb 2018 19:47:55 +0000 (19:47 +0000)
commit829b64c1ead819bdf84d950581020c36f00cd02b
treea89df78c8c368efc2c0d399abdd1b91e4c8548a6
parentee59f6dff2c25b39d12b16082343a74c825b5ea1
cmd/fix: fix cast check

Need 2-result cast so we can check the result correctly.

Fixes #23762

Change-Id: Icac3a5415156fe918988f369d6022a9a29c14089
Reviewed-on: https://go-review.googlesource.com/93078
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/fix/cftype.go