mirror of
https://github.com/vim/vim.git
synced 2025-11-15 23:14:06 -05:00
patch 8.2.0280: Vim9: throw in :def function not caught higher up
Problem: Vim9: throw in :def function not caught higher up. Solution: Set "need_rethrow".
This commit is contained in:
@@ -482,6 +482,7 @@ call_def_function(
|
||||
tv->v_type = VAR_NUMBER;
|
||||
tv->vval.v_number = 0;
|
||||
++ectx.ec_stack.ga_len;
|
||||
need_rethrow = TRUE;
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user