1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:54:57 -07:00
Commit Graph

1 Commits

Author SHA1 Message Date
Russ Cox
b0009bef20 bug064
make f(g()) work when g returns multiple
args with names different than f expects.

func swap(a, b int) (c, d int) {
	return b, a
}

swap(swap(1,2))

R=ken
OCL=24474
CL=24476
2009-02-05 15:22:49 -08:00