# New Ticket Created by Sam S.
# Please include the string: [perl #128084]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=128084 >
➜ sub f ($a) { $a**2 }; say (^10).hyper.map(&f).list;
(0 1 4 9 16 25 36 49 64 81)
➜ multi f ($a) { $a**2 }; say (^10).hyper.map(&f).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.)