commit | 9844e4cd7cc52ecbe7d49307b6546a118de5bea7 | [log] [tgz] |
---|---|---|
author | Rémy Oudompheng <oudomphe@phare.normalesup.org> | Sun Oct 07 21:52:57 2012 +0200 |
committer | Rémy Oudompheng <oudomphe@phare.normalesup.org> | Sun Oct 07 21:52:57 2012 +0200 |
tree | ac64bf5a54807ddffbecdd9607ea32b571be7610 | |
parent | c4c4b3b46729d8df3a5ee7bd5f0e463290e206da [diff] |
test: correct type in declbad.go The test is not about type mismatches and it causes an extra error to appear. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6614062
diff --git a/test/declbad.go b/test/declbad.go index ff53ab0..728eceb 100644 --- a/test/declbad.go +++ b/test/declbad.go
@@ -41,7 +41,8 @@ { // multiline no new variables i := f1 - i := func() { // ERROR "redeclared|no new|incompatible" + i := func() int { // ERROR "redeclared|no new|incompatible" + return 0 } _ = i }