0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.3341: Vim9: function call aborted despite try/catch

Problem:    Vim9: function call aborted despite try/catch. (Naohiro Ono)
Solution:   Ignore error caught by try/catch. (closes #8755)
This commit is contained in:
Bram Moolenaar
2021-08-14 14:01:05 +02:00
parent 78a9c2e670
commit 88c89c7722
8 changed files with 63 additions and 12 deletions

View File

@@ -733,7 +733,7 @@ emsg_core(char_u *s)
flush_buffers(FLUSH_MINIMAL); // flush internal buffers
++did_emsg; // flag for DoOneCmd()
#ifdef FEAT_EVAL
did_uncaught_emsg = TRUE;
++uncaught_emsg;
#endif
}