Commit 057e7d9f authored by Robert Griesemer's avatar Robert Griesemer

fix build, enable an exp/eval's assignment check

now that the parser doesn't do this test anymore

R=rsc
CC=golang-dev
https://golang.org/cl/179105
parent 5dc6c808
......@@ -19,11 +19,7 @@ var stmtTests = []test{
Val2("a, b := 1, 2", "a", 1, "b", 2),
Val2("a, i := 1, 2", "a", 1, "i", 2),
CErr("a, i := 1, f", opTypes),
// TODO(austin) The parser produces an error message for this
// one that's inconsistent with the errors I give for other
// things
//CErr("a, b := 1, 2, 3", "too many"),
CErr("a, b := 1, 2, 3", "arity"),
CErr("a, b := 1, 2, 3", "too many"),
CErr("a := 1, 2", "too many"),
CErr("a, b := 1", "not enough"),
// Mixed declarations
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment