]> Cypherpunks repositories - gostls13.git/commit
go/types: better error for assignment count mismatches
authorRobert Griesemer <gri@golang.org>
Fri, 17 Mar 2017 00:29:14 +0000 (17:29 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 17 Mar 2017 01:09:39 +0000 (01:09 +0000)
commitfaeda66c60dbc080720b30d42acbf67c4541e053
tree048fc31b8344c1720772102898a2f9353cb1535b
parent3c7a812485334eb57c0856e6b152aa3d50f9f0a0
go/types: better error for assignment count mismatches

This matches the error message of cmd/compile (for assignments).

Change-Id: I42a428f5d72f034e7b7e97b090a929e317e812af
Reviewed-on: https://go-review.googlesource.com/38315
Run-TryBot: Robert Griesemer <gri@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/types/assignments.go
src/go/types/testdata/decls1.src
src/go/types/testdata/issues.src
src/go/types/testdata/stmt0.src
src/go/types/testdata/vardecl.src