Fix variable assignment
let x y = 1 2
let x y = $y $x
echo $x $y
This currently prints 2
2
.
It should print 2
1
.
This happens currently because arguments are evaluated one at a time serially.
let x y = 1 2
let x y = $y $x
echo $x $y
This currently prints 2
2
.
It should print 2
1
.
This happens currently because arguments are evaluated one at a time serially.