]> Cypherpunks repositories - gostls13.git/commit
cmd/vet: add test that copylock catches copying a sync.Map
authorManish Goregaokar <manishsmail@gmail.com>
Sat, 26 Aug 2017 06:10:50 +0000 (23:10 -0700)
committerRob Pike <r@golang.org>
Tue, 29 Aug 2017 02:33:15 +0000 (02:33 +0000)
commit29d11ef43611312311af6ecf551d83a37175f1bf
treeebfb8e0e4e7db5b675089dfa1427efa27c6a5c52
parentce54a0c10a39e6735a44b50a9ccd58968700288b
cmd/vet: add test that copylock catches copying a sync.Map

fixes #21635

Change-Id: I78716d47b6a930074e5394f7171d5f545dfba0bc
Reviewed-on: https://go-review.googlesource.com/59690
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Rob Pike <r@golang.org>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/cmd/vet/testdata/copylock_func.go