develooper Front page | perl.perl5.porters | Postings from December 2021

Re: Pre-RFC: try/catch/finally and generic finally blocks

Thread Previous | Thread Next
From:
Yuki Kimoto
Date:
December 21, 2021 00:02
Subject:
Re: Pre-RFC: try/catch/finally and generic finally blocks
Message ID:
CAExogxPNwpWqH7+P8zabE2qSD5wB2o6dNfKaU-0TiiCFoJxLnw@mail.gmail.com
2021-12-21 8:54 Yuki Kimoto <kimoto.yuki@gmail.com> wrote:

>
>
> 2021-12-17 7:23 Paul "LeoNerd" Evans <leonerd@leonerd.org.uk> wrote:
>
>> On Tue, 19 Oct 2021 19:25:04 +0100
>> "Paul \"LeoNerd\" Evans" <leonerd@leonerd.org.uk> wrote:
>>
>>   https://github.com/Perl/perl5/pull/19285
>
>
>  How best to deparse these, as they are implemented as { defer {FINALLY}
try/catch }
>  How to fix up failure messages - they currently complain about ... in
"defer" block

I think users are surprised that finally block raises the error message
"defere" block.

Could you add a "finally" flag to the C structure of the block for "defer"?

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About