]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: fix copylocks false positive on len(array) and cap(array).
authorAliaksandr Valialkin <valyala@gmail.com>
Mon, 19 Dec 2016 17:28:17 +0000 (19:28 +0200)
committerRob Pike <r@golang.org>
Sat, 24 Dec 2016 21:41:34 +0000 (21:41 +0000)
commitd160982a2ef9193384fb3c66939db0fb37a21ba3
treeeac5231a1e0f7a216f2ad0b51913c3cac9f53ec9
parenta3f4cc06694c8b0bcf14ad36ebc10e66321e3d0f
cmd/vet: fix copylocks false positive on len(array) and cap(array).

This is a follow-up for https://golang.org/cl/24340.

Updates #14664.
Fixes #18374.

Change-Id: I2831556a9014d30ec70d5f91943d18c33db5b390
Reviewed-on: https://go-review.googlesource.com/34630
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Rob Pike <r@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/vet/copylock.go
src/cmd/vet/testdata/copylock.go