]> Cypherpunks repositories - gostls13.git/commit
func f() (int, int);
authorRuss Cox <rsc@golang.org>
Wed, 8 Apr 2009 05:20:37 +0000 (22:20 -0700)
committerRuss Cox <rsc@golang.org>
Wed, 8 Apr 2009 05:20:37 +0000 (22:20 -0700)
commit3067781ab93deb9f7c92d0c119548b253d17a558
tree308d560b743450ff93ae515600a50dfeeb828dc5
parent7cbec417b1d1726f1cea5149a0b4138e5da1ce54
func f() (int, int);
x := f();

used to give
fatal error: dowidth fn struct struct { int; int }

now gives
assignment count mismatch: 1 = 2

R=ken
OCL=27198
CL=27201
src/cmd/gc/walk.c
test/golden.out