On Tue, 17 Jan 2017 10:10:44 -0800, coke wrote: > The presence of a hyper or race causes incorrect output in some cases. > Originally found with the .grep in the pipeline, but seems to impact > even the simple case. > > $ perl6 -e 'say [+] (1..100)' > 5050 > > $ perl6 -e 'say [+] (1..100).race' > 0 > > $ perl6 -e 'say [+] (1..100).grep(* != 22)' > 5028 > > $ perl6 -e 'say [+] (1..100).race.grep(* != 22)' > 0 > > $ perl6 -e 'say [+] (1..100).hyper.grep(* != 22)' > 0 > > $ perl6 -e 'say [+] (1..100).grep(* != 22).race' > 0 > > $ perl6 -e 'say [+] (1..100).grep(* != 22).hyper' > 0 >
Fixed in new hyper/race implementation; tests in S07-hyperrace/hyper.t and S07-hyperrace/race.t.