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


<masak> rakudo: class X {method x (*...@_) {say @_} }; X.new.x(5)
<p6eval> rakudo 3704a2: OUTPUT«Placeholder variables cannot be used in
a method [...]
<masak> whoz op with that?
<moritz_> b0rkaged
<jnthn> masak: Probably it's being a bit over-eager.
<moritz_> rakudo: class X {method x {say @_} }; X.new.x(5)
<p6eval> rakudo 3704a2: OUTPUT«Placeholder variables cannot be used in
a method [...]
<jnthn> masak: The "we has @_ and we're in a method so cry" check
probably wants to also check "is @_ defined already".
<jnthn> And not worry about it if so.
* masak submits rakudobug
<masak> quietfanatic++ for discovering it

Reply via email to