Skip to content

Commit

Permalink
Test for RT #125513.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnthn committed Jul 9, 2015
1 parent 87560fd commit 1cda041
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion S12-class/interface-consistency.t
Expand Up @@ -4,7 +4,7 @@ use Test;

# L<S12/Interface Consistency>

plan 8;
plan 9;

class Foo {
our &m1 = method m1($a) { #OK not used
Expand Down Expand Up @@ -52,4 +52,8 @@ class Faz hides Fiz {

is Faz.new.m1(42), 1, 'hides Fiz means we skip over Fiz in deferal';

# RT #125513
lives-ok { EVAL('class C { method foo(*%_, *@_) { } }; C.new.foo') },
'*%_ before a *@_ also correctly prevents generation of auto-%_';

# vim: ft=perl6

0 comments on commit 1cda041

Please sign in to comment.