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

LTA error message when doing return inside map in Rakudo #2840

Closed
p6rt opened this issue Jul 26, 2012 · 5 comments
Closed

LTA error message when doing return inside map in Rakudo #2840

p6rt opened this issue Jul 26, 2012 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jul 26, 2012

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

Searchable as RT114274$

@p6rt
Copy link
Author

p6rt commented Jul 26, 2012

From @masak

<felher> r​: say (1,2,3).map​: { return 1 }
<p6eval> rakudo ed269f​: OUTPUT«Can not get non-existent attribute
'$!storage' on class 'Parcel'␤ in method reify [...]
* masak submits rakudobug

@p6rt
Copy link
Author

p6rt commented Jul 26, 2012

From @masak

<UncleFester6> r​: say gather { return 1 }
<p6eval> rakudo ed269f​: OUTPUT«Can not get non-existent attribute
'$!storage' on class 'Parcel' [...]
<UncleFester6> masak​: add this to your map ticket?
* masak adds it

@p6rt
Copy link
Author

p6rt commented Jul 26, 2012

@masak - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 9, 2015

From @coke

On Thu Jul 26 06​:56​:51 2012, masak wrote​:

<UncleFester6> r​: say gather { return 1 }
<p6eval> rakudo ed269f​: OUTPUT«Can not get non-existent attribute
'$!storage' on class 'Parcel' [...]
<UncleFester6> masak​: add this to your map ticket?
* masak adds it

Behavior has changed​:

$ ./perl6 -e 'say gather { return 1 }'
Attempt to return outside of any Routine

Which is correct.

Test added to S32-exceptions/misc.t, closing ticket.

--
Will "Coke" Coleda

@p6rt p6rt closed this as completed Jul 9, 2015
@p6rt
Copy link
Author

p6rt commented Jul 9, 2015

@coke - Status changed from 'open' to 'resolved'

@p6rt p6rt added the Bug 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