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
try {} without CATCH not catching an exception #4197
Comments
From @raydiakSee http://irclog.perlgeek.de/perl6/2015-05-05#i_10552113 Besides the obvious problem (.clone should work there), in the process of examining it I encountered another oddity: trapping it with a try block doesn't catch the exception unless an explicit CATCH block is added with accompanying default; the implicit CATCH misses it entirely. |
From @usev6On Tue May 05 13:41:01 2015, raydiak@cyberuniverses.com wrote:
It looks like there were different problems back in May, which seem to First, using .clone on an array died. This does no longer happen: $ perl6 -e 'my @a = 42; @a.clone; say "alive"' $ perl6 -e 'my @a = 42; my @b; try { @b = @a.clone }; say "alive"; I added two tests for this to S12-attributes/clone.t with commit Second, using a try block didn't catch the exception. AFAIU this is Anyway, I'm closing this ticket as 'resolved'. Please reopen if you |
The RT System itself - Status changed from 'new' to 'open' |
@usev6 - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125109 (status was 'resolved')
Searchable as RT125109$
The text was updated successfully, but these errors were encountered: