You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<masak> m: class C { method foo(*%_, *@_) { say "OH HAI" } }; C.new.foo
<camelia> rakudo-moar 7b5256: OUTPUT«===SORRY!===Lexical '%_' already
declared»
* masak submits rakudobug
<masak> S06:1105: sub duplicate($n, *%flag, *@data) {...}
<masak> so it's allowed.
The source code in World.nqp assumes that the named slurpy is in
@params[+@params - 1], which isn't necessarily the case, as the spec
allows named slurpies and positional slurpies to appear in any order.
<masak> m: class C { method foo(*%_, *@_) { say "OH HAI" } }; C.new.foo
<camelia> rakudo-moar 7b5256: OUTPUT«===SORRY!===Lexical '%_' already
declared»
* masak submits rakudobug
<masak> S06:1105: sub duplicate($n, *%flag, *@data) {...}
<masak> so it's allowed.
The source code in World.nqp assumes that the named slurpy is in
@params[+@params - 1], which isn't necessarily the case, as the spec
allows named slurpies and positional slurpies to appear in any order.
Fixed, and test added in S12-class/interface-consistency.t.
Migrated from rt.perl.org#125513 (status was 'resolved')
Searchable as RT125513$
The text was updated successfully, but these errors were encountered: