elvish
elvish copied to clipboard
Fix defer in a loop causing early exit.
Fixes #1849. My confidence is a bit low in this change, as I am not sure I understood the semantics of error propagation in Elvish's code correctly.
Thanks for the fix! I'm slightly puzzled how this fix works - it seems there's something deeper that's wrong. I'll look into this a bit more and get back to this.