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

indirect method calls with the colon #3452

Closed
p6rt opened this issue Jul 20, 2014 · 4 comments
Closed

indirect method calls with the colon #3452

p6rt opened this issue Jul 20, 2014 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Jul 20, 2014

Migrated from rt.perl.org#122344 (status was 'resolved')

Searchable as RT122344$

@p6rt
Copy link
Author

p6rt commented Jul 20, 2014

From @coke

There's a test in S02-lexical-conventions/unspace.t that expects
indirect method calls with a colon to work; currently skipped in
rakudo as a parsefail​:

{
  augment class Code{
  method xyzzy(Code $x​: *@​y) { $x.(@​y) }
  }

  is((xyzzy { @​^x }​: 1, 2, 3), (1, 2, 3), 'colon immediately
following arg block');
  is((xyzzy { @​^x } : 1, 2, 3), (1, 2, 3), 'colon not immediately
following arg block');
  is((xyzzy { @​^x }\ : 1, 2, 3), (1, 2, 3), 'unspace then colon
following arg block');
}

--
Will "Coke" Coleda

@p6rt
Copy link
Author

p6rt commented Feb 7, 2015

From @usev6

The test was fixed with commit Raku/roast@88c52fa8a2

It now starts with

augment class Block {
  method xyzzy(Code $x​: *@​y) { $x.(@​y) }
}

I'm closing this ticket.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Feb 7, 2015

From @usev6

The test was fixed with commit Raku/roast@88c52fa8a2

It now starts with

augment class Block {
  method xyzzy(Code $x​: *@​y) { $x.(@​y) }
}

I'm closing this ticket.

@p6rt p6rt closed this as completed Feb 7, 2015
@p6rt
Copy link
Author

p6rt commented Feb 7, 2015

@usev6 - Status changed from 'new' to 'resolved'

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