[perl #128084] [CONC][BUG] `.hyper/.race.map()` produces an empty sequence if `` is a multi-sub
On Fri, 06 May 2016 08:37:20 -0700, sml...@gmail.com wrote: > ➜ sub f ($a) { $a**2 }; say (^10).hyper.map().list; > (0 1 4 9 16 25 36 49 64 81) > > ➜ multi f ($a) { $a**2 }; say (^10).hyper.map().list; > () > > The expected behavior would be for both examples to produce the same > (non-empty) list. > > (This was first reported by Alexander Moquin in a comment to ticket > #126597, but I think it should have its own ticket.) Fixed in new hyper/race implementation; tests in S07-hyperrace/hyper.t and S07-hyperrace/race.t.
[perl #128084] [CONC][BUG] `.hyper/.race.map()` produces an empty sequence if `` is a multi-sub
On Fri, 06 May 2016 08:37:20 -0700, sml...@gmail.com wrote: > ➜ sub f ($a) { $a**2 }; say (^10).hyper.map().list; > (0 1 4 9 16 25 36 49 64 81) > > ➜ multi f ($a) { $a**2 }; say (^10).hyper.map().list; > () > > The expected behavior would be for both examples to produce the same > (non-empty) list. > > (This was first reported by Alexander Moquin in a comment to ticket > #126597, but I think it should have its own ticket.) Fixed in new hyper/race implementation; tests in S07-hyperrace/hyper.t and S07-hyperrace/race.t.
[perl #128084] [CONC][BUG] `.hyper/.race.map()` produces an empty sequence if `` is a multi-sub
# New Ticket Created by Sam S. # Please include the string: [perl #128084] # in the subject line of all future correspondence about this issue. # https://rt.perl.org/Ticket/Display.html?id=128084 > ➜ sub f ($a) { $a**2 }; say (^10).hyper.map().list; (0 1 4 9 16 25 36 49 64 81) ➜ multi f ($a) { $a**2 }; say (^10).hyper.map().list; () The expected behavior would be for both examples to produce the same (non-empty) list. (This was first reported by Alexander Moquin in a comment to ticket #126597, but I think it should have its own ticket.)