# New Ticket Created by  "Carl Mäsak" 
# Please include the string:  [perl #104026]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=104026 >


<masak> rakudo: my @a = 1, 2, 3; @a.splice(-2, 1, 42); say @a.perl # should fail
<p6eval> rakudo a0e51a: OUTPUT«Array.new(1, 42, 3)␤»
<masak> rakudo: my @a = 1, 2, 3; @a.splice(*-2, 1, 42); say @a.perl #
should work
<p6eval> rakudo a0e51a: OUTPUT«No applicable candidates found to
dispatch to for 'Numeric' [...]
* masak submits rakudobug

Reply via email to