cmd/compile: in append(f()), type convert appended items
The second and subsequent return values from f() need to be converted to the element type of the first return value from f() (which must be a slice). Fixes #22327 Change-Id: I5c0a424812c82c1b95b6d124c5626cfc4408bdb6 Reviewed-on: https://go-review.googlesource.com/c/142718Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Showing
test/fixedbugs/issue22327.go
0 → 100644
Please register or sign in to comment