]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: allow print/println(f()) where f() is multi-value
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 14 Nov 2019 03:00:33 +0000 (10:00 +0700)
committerIan Lance Taylor <iant@golang.org>
Sat, 22 Feb 2020 03:34:22 +0000 (03:34 +0000)
commitaf686da46ffeb463c113607bac3ec5e8f53acaf9
treedec3c58d62adad3e5145e6887b353f1c7c023ddc
parentd67d044310bc5cc1c26b60caf23a58602e9a1946
cmd/compile: allow print/println(f()) where f() is multi-value

Fixes #35576

Change-Id: Ia128f412120069e9f8813e9e910e62644f950bfb
Reviewed-on: https://go-review.googlesource.com/c/go/+/207118
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/gc/typecheck.go
test/fixedbugs/issue35576.go [new file with mode: 0644]
test/fixedbugs/issue35576.out [new file with mode: 0644]