diff options
| author | Nigel Tao <nigeltao@golang.org> | 2019-04-07 09:33:36 +1000 |
|---|---|---|
| committer | Nigel Tao <nigeltao@golang.org> | 2019-04-07 03:44:17 +0000 |
| commit | 1c00deeaf96743362a103957266f92e47ff90bc6 (patch) | |
| tree | 9a356d16cbf935462a9664594f7374f6c747c749 /src/os/exec/exec_posix_test.go | |
| parent | ad6c691542e2d842c90e2f7870021d16ffa71878 (diff) | |
| download | go-1c00deeaf96743362a103957266f92e47ff90bc6.tar.xz | |
image: deprecate ZP and ZR
They were added a very long time ago, as a convenience before Go had
struct literals. Today, it is better to use the zero-valued literal. For
example, the compiler cannot prove that ZP or ZR have not been modified.
Change-Id: I7469f1c751e91bf76fe1eab07b5772eccb5d6405
Reviewed-on: https://go-review.googlesource.com/c/go/+/171097
Reviewed-by: Nigel Tao <nigeltao@golang.org>
Diffstat (limited to 'src/os/exec/exec_posix_test.go')
0 files changed, 0 insertions, 0 deletions
