mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.2.1656: Vim9: callstack wrong if :def function calls :def function
Problem: Vim9: callstack wrong if :def function calls :def function. Solution: Set the line number before calling. (closes #6914)
This commit is contained in:
@@ -1665,6 +1665,7 @@ call_def_function(
|
||||
|
||||
// call a :def function
|
||||
case ISN_DCALL:
|
||||
SOURCING_LNUM = iptr->isn_lnum;
|
||||
if (call_dfunc(iptr->isn_arg.dfunc.cdf_idx,
|
||||
iptr->isn_arg.dfunc.cdf_argcount,
|
||||
&ectx) == FAIL)
|
||||
|
Reference in New Issue
Block a user