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

uncaught exception #2996

Closed
p6rt opened this issue Dec 12, 2012 · 4 comments
Closed

uncaught exception #2996

p6rt opened this issue Dec 12, 2012 · 4 comments

Comments

@p6rt
Copy link

p6rt commented Dec 12, 2012

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

Searchable as RT116056$

@p6rt
Copy link
Author

p6rt commented Dec 12, 2012

From cedric.vincent@gmail.com

The following piece of code doesn't work as expected​:

  sub foo { die }; foo; CATCH { when * { say 'caught' } }

unless there's an explicit block around​:

  { sub foo { die }; foo; CATCH { when * { say 'caught' } } }

ref​: http://irclog.perlgeek.de/perl6/2012-12-12#i_6234929

@p6rt
Copy link
Author

p6rt commented Jan 12, 2015

From @jnthn

On Wed Dec 12 01​:53​:06 2012, cvincent wrote​:

The following piece of code doesn't work as expected​:

sub foo \{ die \}; foo; CATCH \{ when \* \{ say 'caught' \} \}

unless there's an explicit block around​:

\{ sub foo \{ die \}; foo; CATCH \{ when \* \{ say 'caught' \} \} \}

ref​: http://irclog.perlgeek.de/perl6/2012-12-12#i_6234929

Fixed in Rakudo commit 0a99f9f, tested in roast commit 6ba20d0.

/jnthn

@p6rt
Copy link
Author

p6rt commented Jan 12, 2015

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

@p6rt p6rt closed this as completed Jan 12, 2015
@p6rt
Copy link
Author

p6rt commented Jan 12, 2015

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

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