mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.0492: Vim9: some error messages not tested
Problem: Vim9: some error messages not tested. Solution: Add more tests. Remove dead code. Fix uncovered bugs.
This commit is contained in:
@@ -684,6 +684,8 @@ call_def_function(
|
||||
typval_T optval;
|
||||
char_u *name = iptr->isn_arg.string;
|
||||
|
||||
// This is not expected to fail, name is checked during
|
||||
// compilation: don't set SOURCING_LNUM.
|
||||
if (ga_grow(&ectx.ec_stack, 1) == FAIL)
|
||||
goto failed;
|
||||
if (get_option_tv(&name, &optval, TRUE) == FAIL)
|
||||
|
Reference in New Issue
Block a user