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

last returns something Mu-ish #3445

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

last returns something Mu-ish #3445

p6rt opened this issue Jul 18, 2014 · 4 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 18, 2014

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

Searchable as RT122325$

@p6rt
Copy link
Author

p6rt commented Jul 18, 2014

From @FROGGS

From S04-exceptions/control_across_runloop.t

{
  sub foo($x = last) { $x }

  my $i = 0;
  for 1,2,3 { $i++; foo(); }

  is $i, 1, 'control operator last can be used in an inferior context';
}

This fails on parrot only. It looks like as if it throws *before* assigning to $x on other backends, but not on parrot. So perhaps this is an issue in the binder.

@p6rt
Copy link
Author

p6rt commented Oct 26, 2014

From @usev6

The test in S04-exceptions/control_across_runloop.t is now passing on Parrot as well. I unfudged the test with commit Raku/roast@27a7e3281a

I'm closing this ticket.

1 similar comment
@p6rt
Copy link
Author

p6rt commented Oct 26, 2014

From @usev6

The test in S04-exceptions/control_across_runloop.t is now passing on Parrot as well. I unfudged the test with commit Raku/roast@27a7e3281a

I'm closing this ticket.

@p6rt
Copy link
Author

p6rt commented Oct 26, 2014

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

@p6rt p6rt closed this as completed Oct 26, 2014
@p6rt p6rt added the parrot label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant