mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2370: Vim9: command fails in catch block
Problem: Vim9: command fails in catch block. Solution: Reset force_abort and need_rethrow. (closes #7692)
This commit is contained in:
@@ -2572,6 +2572,7 @@ call_def_function(
|
||||
trycmd->tcd_caught = TRUE;
|
||||
}
|
||||
did_emsg = got_int = did_throw = FALSE;
|
||||
force_abort = need_rethrow = FALSE;
|
||||
catch_exception(current_exception);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user