diff options
| author | Andrea Nodari <andrea.nodari91@gmail.com> | 2018-06-21 18:01:01 +0100 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-12-10 23:08:15 +0000 |
| commit | 963c9fdf9735bc464521cde3d46b596ce0d74eba (patch) | |
| tree | 803892334b7c2f9f5daa6e4c9289c63609eb2e6c /src/runtime | |
| parent | 1ccb66d1ef031ad70345d2ef1983a5814f405295 (diff) | |
| download | go-963c9fdf9735bc464521cde3d46b596ce0d74eba.tar.xz | |
cmd/cover: check that the argument of -var is valid
At the moment, the cover tool does not check that the argument of -var
is a valid identifier. Hence, it could generate a file that fails to
compile afterwards.
Updates #25280
Change-Id: I6eb1872736377680900a18a4a28ba002ab5ea8ca
Reviewed-on: https://go-review.googlesource.com/c/120316
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
