]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: make duplicate index error distinguish arrays and slices
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 31 Oct 2019 21:07:23 +0000 (04:07 +0700)
committerMatthew Dempsky <mdempsky@google.com>
Fri, 1 Nov 2019 01:51:26 +0000 (01:51 +0000)
commitefd395f9fb429ea3e677d9e378b858cd083eec11
tree1cb5fcf4bff376d2ba34a0b2aebecab71579ea5f
parent4a09a9b054bf9ffe7bcd1ecb90837ff5dc04aea6
cmd/compile: make duplicate index error distinguish arrays and slices

Fixes #35291

Change-Id: I11ae367b6e972cd9e7a22bbc2cb23d32f4d72b98
Reviewed-on: https://go-review.googlesource.com/c/go/+/204617
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/typecheck.go
test/fixedbugs/issue13365.go
test/fixedbugs/issue35291.go [new file with mode: 0644]
test/fixedbugs/issue7153.go