Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roast rakudo skip/todo test:./S05-metasyntax/angle-brackets.t line:200 reason: '<&foo()> [NYI]' #3851

Open
p6rt opened this issue May 3, 2015 · 1 comment

Comments

@p6rt
Copy link

p6rt commented May 3, 2015

Migrated from rt.perl.org#124523 (status was 'new')

Searchable as RT124523$

@p6rt
Copy link
Author

p6rt commented Sep 16, 2017

From @usev6

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant