The implementation of d/finally' function seems to be not strictly correct. In particular, this part. Obviously, if x is error deferred, the function with which it is chained isn't going to be called.
Test that reproduces the issue along with the fix are added.
The implementation of
d/finally'
function seems to be not strictly correct. In particular, this part. Obviously, ifx
is error deferred, the function with which it is chained isn't going to be called.Test that reproduces the issue along with the fix are added.