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
Too clarify this ticket, this is the failing test:
# A leading & interpolates the return value of a subroutine call as a regex.
#?rakudo skip '<&foo()> NYI RT #124523'
{
my sub foo {return '<alpha>'}
ok('abcdef' ~~ /<&foo()>/, 'subroutine call interpolation');
}
Current behaviour:
$ ./perl6-m -e 'use Test; my sub foo {return "<alpha>"}; ok("abcdef" ~~ /<&foo()>/, "subroutine call interpolation")'
Too many positionals passed; expected 0 arguments but got 1
in sub foo at -e line 1
in block <unit> at -e line 1
Migrated from rt.perl.org#124523 (status was 'new')
Searchable as RT124523$
The text was updated successfully, but these errors were encountered: