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

Block less try fails to catch exception #4872

Closed
p6rt opened this issue Dec 14, 2015 · 5 comments
Closed

Block less try fails to catch exception #4872

p6rt opened this issue Dec 14, 2015 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Dec 14, 2015

Migrated from rt.perl.org#126914 (status was 'rejected')

Searchable as RT126914$

@p6rt
Copy link
Author

p6rt commented Dec 14, 2015

@p6rt
Copy link
Author

p6rt commented Dec 14, 2015

From @nkh

https://rt-archive.perl.org/perl6/Ticket/Display.html?id=126914

http://nopaste.linux-dev.org/?881099

In this code a 'say' was added to all the subs. the previuosly passing
*_orelse also fails to catch the exception

@p6rt
Copy link
Author

p6rt commented Jan 20, 2018

From @zoffixznet

On Mon, 14 Dec 2015 00​:48​:15 -0800, nadim.khemir@​gmail.com wrote​:

https://rt-archive.perl.org/perl6/Ticket/Display.html?id=126914

http://nopaste.linux-dev.org/?881099

In this code a 'say' was added to all the subs. the previuosly passing
*_orelse also fails to catch the exception

Thanks, but the paste looks to have expired. In the future, please include the code right in the ticket (or attached to the ticket as a file)

No idea what the original code was and I don't see any problems with blockless try​:

  <Zoffix__> m​: try die; say 'all good'
  <camelia> rakudo-moar bfb5279aa​: OUTPUT​: «all good␤»

@p6rt
Copy link
Author

p6rt commented Jan 20, 2018

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

@p6rt
Copy link
Author

p6rt commented Jan 20, 2018

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

@p6rt p6rt closed this as completed Jan 20, 2018
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