Re: [perl #131855] Mix.roll doesn't work with fractional weights
Oops. Caught by a copy-pasto. Fixed with a91ad2da854831a7a38c1d , tests needed. > On 7 Aug 2017, at 20:59, Brad Gilbert (via RT) > wrote: > > # New Ticket Created by Brad Gilbert > # Please include the string: [perl #131855] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id=131855 > > > > >> Mix( 'a' => 0.3 ).roll > >Type check failed in binding; expected Int but got Rat (0.3) > in block at line 1 > > This worked prior to `Add R:Q.MIX-ROLL, make Mix.roll() about 2.5x as fast`[1] > > > [1] > https://github.com/rakudo/rakudo/commit/a2602b9cee60f746b6012c87c146d68cb79b4bed
Re: [perl #131855] Mix.roll doesn't work with fractional weights
Oops. Caught by a copy-pasto. Fixed with a91ad2da854831a7a38c1d , tests needed. > On 7 Aug 2017, at 20:59, Brad Gilbert (via RT) > wrote: > > # New Ticket Created by Brad Gilbert > # Please include the string: [perl #131855] > # in the subject line of all future correspondence about this issue. > # https://rt.perl.org/Ticket/Display.html?id=131855 > > > > >> Mix( 'a' => 0.3 ).roll > >Type check failed in binding; expected Int but got Rat (0.3) > in block at line 1 > > This worked prior to `Add R:Q.MIX-ROLL, make Mix.roll() about 2.5x as fast`[1] > > > [1] > https://github.com/rakudo/rakudo/commit/a2602b9cee60f746b6012c87c146d68cb79b4bed
[perl #131855] Mix.roll doesn't work with fractional weights
# New Ticket Created by Brad Gilbert # Please include the string: [perl #131855] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=131855 > > Mix( 'a' => 0.3 ).roll Type check failed in binding; expected Int but got Rat (0.3) in block at line 1 This worked prior to `Add R:Q.MIX-ROLL, make Mix.roll() about 2.5x as fast`[1] [1] https://github.com/rakudo/rakudo/commit/a2602b9cee60f746b6012c87c146d68cb79b4bed