# New Ticket Created by Aleks-Daniel Jakimenko-Aleksejev # Please include the string: [perl #130436] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=130436 >
Code: my @a = ‘a’..‘e’; say @a.rotor(3, Inf, :partial) Result (2015.12,2016.07): ((a b c) (d e)) Result (HEAD): Cannot coerce Inf to an Int in block <unit> at /tmp/TtHxYDq4L6 line 1 Actually thrown at: in block <unit> at /tmp/TtHxYDq4L6 line 1 «exit code = 1» Bisectable points to https://github.com/rakudo/rakudo/commit/59f040d2b8b6dd207b3b8d7d4e851de40b1bfe63 Please note that other forms were not really working. For example, change @a.rotor to (‘a’..‘e’).rotor and Inf is no longer accepted. Still, I think Inf could be useful sometimes, we should consider making it work.