[perl #111866] [BUG] 'undo' won't fire unless the block is a 'try' block in Rakudo

2012-03-20 Thread Carl Mäsak
# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #111866] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=111866 > r: ENTER { say 1 } rakudo b2505b: OUTPUT«1␤» r: KEEP { say 1 } rakudo b2505b:

[perl #111866] [BUG] 'undo' won't fire unless the block is a 'try' block in Rakudo

2012-03-20 Thread Carl Mäsak via RT
On Tue Mar 20 02:03:58 2012, masak wrote: > r: ENTER { say 1 } > rakudo b2505b: OUTPUT«1␤» > r: KEEP { say 1 } > rakudo b2505b: OUTPUT«1␤» > r: UNDO { say 1 } > rakudo b2505b: ( no output ) > > So far, so good. But: > > r: UNDO { say 'undone' }; die 'foo' > rakudo b2505b: ( no output )