mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 9.0.1928: Vim9: constructor type checking bug
Problem: Vim9: constructor type checking bug Solution: Fix class constructor regression closes: #13102 closes: #13113 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: h-east <h.east.727@gmail.com>
This commit is contained in:
committed by
Christian Brabandt
parent
ceee7a808c
commit
b895b0fabc
@@ -4470,7 +4470,7 @@ exec_instructions(ectx_T *ectx)
|
||||
ea.cmd = ea.arg = iptr->isn_arg.string;
|
||||
ga_init2(&lines_to_free, sizeof(char_u *), 50);
|
||||
SOURCING_LNUM = iptr->isn_lnum;
|
||||
define_function(&ea, NULL, &lines_to_free, 0);
|
||||
define_function(&ea, NULL, &lines_to_free, 0, NULL, 0);
|
||||
ga_clear_strings(&lines_to_free);
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user