]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: test that equality is evaluated in order
authorKeith Randall <khr@golang.org>
Wed, 3 Jun 2020 17:52:23 +0000 (10:52 -0700)
committerKeith Randall <khr@golang.org>
Wed, 3 Jun 2020 19:07:55 +0000 (19:07 +0000)
commit9984ef824c635421c225f5bf3d5573a1fbd94dde
treeec5c975c2c1c3161ef9e04e95d53246b633f4ebe
parent66e35c995bb68d62612644c6566f500c3df45026
cmd/compile: test that equality is evaluated in order

Make sure that we compare fields of structs and elements of arrays in order,
with proper short-circuiting.

Update #8606

Change-Id: I0a66ad92ea0af7bcc56dfdb275dec2b8d7e8b4fe
Reviewed-on: https://go-review.googlesource.com/c/go/+/236147
Run-TryBot: Keith Randall <khr@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
test/fixedbugs/issue8606.go [new file with mode: 0644]