diff options
| author | Russ Cox <rsc@golang.org> | 2009-02-05 15:22:49 -0800 |
|---|---|---|
| committer | Russ Cox <rsc@golang.org> | 2009-02-05 15:22:49 -0800 |
| commit | b0009bef20badeb3716ed94c8291accc75cf769e (patch) | |
| tree | 232749710138d6a0942114e9e4f9003efa1508de /src/runtime | |
| parent | 7a3877aa0c862927354e07a6919dd327e3f9aa03 (diff) | |
| download | go-b0009bef20badeb3716ed94c8291accc75cf769e.tar.xz | |
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
Diffstat (limited to 'src/runtime')
0 files changed, 0 insertions, 0 deletions
