mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.2306: Vim9: when using function reference type is not checked
Problem: Vim9: when using function reference type is not checked. Solution: When using a function reference lookup the type and check the argument types. (issue #7629)
This commit is contained in:
@@ -3423,7 +3423,7 @@ ex_disassemble(exarg_T *eap)
|
||||
}
|
||||
else
|
||||
fname = trans_function_name(&arg, &is_global, FALSE,
|
||||
TFN_INT | TFN_QUIET | TFN_NO_AUTOLOAD, NULL, NULL);
|
||||
TFN_INT | TFN_QUIET | TFN_NO_AUTOLOAD, NULL, NULL, NULL);
|
||||
if (fname == NULL)
|
||||
{
|
||||
semsg(_(e_invarg2), eap->arg);
|
||||
|
Reference in New Issue
Block a user