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
In a 'unit module', a 'die' along any CATCH block causes a compiler error #6425
Comments
From darek.cidlinsky@atlas.czA minimal example: With a --ll-exception switch, it yields The same happens even if we catch the exception (and probably no matter On the other hand, if we use 'module Foo { }' or try it in a script, D. |
From darek.cidlinsky@atlas.czIt should be added that this bugreport pertains to the version 2017.07: This is Rakudo version 2017.07 built on MoarVM version 2017.07 D. |
From @timoAnnoyingly, 2017.07 has a bug that makes every --ll-exception print that
This is Rakudo version 2017.07-137-g46ef1b5 built on MoarVM version |
The RT System itself - Status changed from 'new' to 'open' |
From darek.cidlinsky@atlas.czAaah, that explains quite some things! Thank you for pointing it out. D. Die 07.08.2017, hora 11:08, Timo Paulssen via RT hoc scripsit:
|
From @zoffixznetOn Mon, 07 Aug 2017 11:08:07 -0700, timo wrote:
Just for reference, if needed, it's possible to work around that bug by telling rakudo to use a custom exceptions handler: cd $(mktemp -d) RAKUDO_EXCEPTIONS_HANDLER=Foo perl6 -I. -MExceptions::Foo -e '…' |
Migrated from rt.perl.org#131841 (status was 'open')
Searchable as RT131841$
The text was updated successfully, but these errors were encountered: