sorear/niecza — Issue #109: sequences with a pointy block with two params do the wrong thing
Author: masak
Created: 2012-02-28 21:14:51+00:00
State: open

niecza: my @x := 1,10, -> $a, $b { $a+1, $b+1 } ... *; say @x[5]
niecza v15-2-gd19c478: OUTPUT«3 3␤»
nom: my @x := 1,10, -> $a, $b { $a+1, $b+1 } ... *; say @x[5]
nom e95935: OUTPUT«5 14␤»
sorear: ^^ nieczabug
nom: my @x := 1,10, -> $a, $b { $a+1, $b+1 } ... *; say @x[0..10].perl
nom e95935: OUTPUT«(1, 10, (2, 11), (3, 12), (4, 13), (5, 14), (6, 15), (7, 16), (8, 17), (9, 18), (10, 19))␤»
niecza: my @x := 1,10, -> $a, $b { $a+1, $b+1 } ... *; say @x[0..10].perl
niecza v15-2-gd19c478: OUTPUT«(1, 10, $(2, 11), $(11, 3), $(3, 3), $(3, 3), $(3, 3), $(3, 3), $(3, 3), $(3, 3), $(3, 3))␤»
* masak submits nieczabug