]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: eliminate "assignment count mismatch" - not needed anymore
authorRobert Griesemer <gri@golang.org>
Fri, 17 Mar 2017 00:07:26 +0000 (17:07 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 17 Mar 2017 00:31:35 +0000 (00:31 +0000)
commit3c7a812485334eb57c0856e6b152aa3d50f9f0a0
tree038bb41f672da2e334aabc65c1a887cbe0e25d53
parent73a44f0456389c60db8459981868b4c64874ec0b
cmd/compile: eliminate "assignment count mismatch" - not needed anymore

See https://go-review.googlesource.com/#/c/38313/ for background.
It turns out that only a few tests checked for this.

The new error message is shorter and very clear.

Change-Id: I8ab4ad59fb023c8b54806339adc23aefd7dc7b07
Reviewed-on: https://go-review.googlesource.com/38314
Run-TryBot: Robert Griesemer <gri@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/typecheck.go
test/fixedbugs/bug289.go
test/fixedbugs/bug487.go