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

typing last in the [REPL] exits #5157

Closed
p6rt opened this issue Feb 29, 2016 · 6 comments
Closed

typing last in the [REPL] exits #5157

p6rt opened this issue Feb 29, 2016 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Feb 29, 2016

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

Searchable as RT127631$

@p6rt
Copy link
Author

p6rt commented Feb 29, 2016

From @hoelzro

I would expect a "last without loop construct" error instead.

@p6rt
Copy link
Author

p6rt commented Mar 2, 2016

From @jnthn

On Sun Feb 28 21​:47​:37 2016, rob@​hoelz.ro wrote​:

I would expect a "last without loop construct" error instead.

It's a read-eval-print-*loop*, so it turns out you actually are in a loop construct and end up exiting that! :-) We can likely get the behavior you're after though, which I think makes sense, by adding a CONTROL block in the REPL loop, and delegating to the HLL's handler.

@p6rt
Copy link
Author

p6rt commented Mar 2, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Aug 25, 2016

From @awwaiid

I opened a PR to address this, rakudo/rakudo#847

@p6rt
Copy link
Author

p6rt commented Sep 11, 2016

From @zoffixznet

Tests added in RT#​125938​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=125938

@p6rt
Copy link
Author

p6rt commented Sep 11, 2016

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

@p6rt p6rt closed this as completed Sep 11, 2016
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