Skip Menu |
Report information
Id: 124523
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: davidnmfarrell [at] gmail.com
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Download (untitled) / with headers
text/plain 1.2k
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


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org