Also fixed by f220a5edc0694751 , which makes combinations() coerce its arguments to Int
Tests are still needed > On 24 Mar 2016, at 21:57, Alex Jakimenko (via RT) > <perl6-bugs-follo...@perl.org> wrote: > > # New Ticket Created by Alex Jakimenko > # Please include the string: [perl #127779] > # in the subject line of all future correspondence about this issue. > # <URL: https://rt.perl.org/Ticket/Display.html?id=127779 > > > > Code: > say combinations 2, 0.5 > > Result: > (()) > > Code: > say combinations 2, 1.5 > > Result: > This type cannot unbox to a native integer > in block <unit> at -e line 1 > > > These results are inconsistent. 0.5 cannot be unboxed to a native int too, > but it is accepted. I think that both should result in the same error.