# New Ticket Created by Ricardo SIGNES
# Please include the string: [perl #124442]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=124442 >
This confused the heck out of me:
~/code/hub/rakudo$ ./perl6 -e 'sub byte ($i) { $i } ; say byte(1)'
Cannot invoke this object (REPR: P6int, cs = 0)
in block <unit> at -e:1
I can imagine being happy with (a) a warning when I defined the sub or (b) a
better runtime error of some sort.
--
rjbs