[perl #131496] [BUG] Failure.perl doesn't roundrip `handled` flag

2018-02-09 Thread Zoffix Znet via RT
On Sat, 03 Jun 2017 04:35:14 -0700, c...@zoffix.com wrote:
> Handled Failures are explosive again, if they're .perl'ed:
> 
>  m: given Failure.new { .so; .handled.say;
> .perl.EVAL.handled.say }
>  rakudo-moar 61ecfd: OUTPUT: «True␤False␤»
> 
> Perhaps the `handled` flag should be a public attribute, settable via
> new?


Thank you for the report. This is now fixed.

Fix:  https://github.com/rakudo/rakudo/commit/b2a21fa96538e2f
Test: https://github.com/perl6/roast/commit/9625f78f3e925aa5d



[perl #131496] [BUG] Failure.perl doesn't roundrip `handled` flag

2018-02-09 Thread Zoffix Znet via RT
On Sat, 03 Jun 2017 04:35:14 -0700, c...@zoffix.com wrote:
> Handled Failures are explosive again, if they're .perl'ed:
> 
>  m: given Failure.new { .so; .handled.say;
> .perl.EVAL.handled.say }
>  rakudo-moar 61ecfd: OUTPUT: «True␤False␤»
> 
> Perhaps the `handled` flag should be a public attribute, settable via
> new?


Thank you for the report. This is now fixed.

Fix:  https://github.com/rakudo/rakudo/commit/b2a21fa96538e2f
Test: https://github.com/perl6/roast/commit/9625f78f3e925aa5d


[perl #131496] [BUG] Failure.perl doesn't roundrip `handled` flag

2017-06-03 Thread via RT
# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #131496]
# in the subject line of all future correspondence about this issue. 
# https://rt.perl.org/Ticket/Display.html?id=131496 >


Handled Failures are explosive again, if they're .perl'ed:

 m: given Failure.new { .so; .handled.say; .perl.EVAL.handled.say 
}
 rakudo-moar 61ecfd: OUTPUT: «True␤False␤»

Perhaps the `handled` flag should be a public attribute, settable via new?