Fix type propagation in calls returning multiple values

This commit is contained in:
Marc Vertes
2018-06-26 13:30:28 +02:00
parent 6480e831a1
commit 542ccdedf6
4 changed files with 59 additions and 7 deletions

View File

@@ -1,11 +1,11 @@
package main
func r2() (int, int) { return 1, 2 }
func main() {
a, b := r2()
println(a, b)
}
func r2() (int, int) { return 1, 2 }
// Output:
// 1 2