Closed edemaine closed 1 month ago
I forgot to mention: the fun innovation here relative to #1134 is the idea of putting the else
block inside the finally
block, which keeps everything "contained" within the try
block. Also, we don't need to double-wrap when we have both else
and finally
blocks. We still achieve the goal of the else
block not wrapped in try..catch
.
Fixes #1134