mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.0493: Vim9: some error messages not tested
Problem: Vim9: some error messages not tested. Solution: Add more tests. Fix uncovered bugs.
This commit is contained in:
@@ -920,7 +920,9 @@ call_def_function(
|
||||
break;
|
||||
default:
|
||||
tv->v_type = VAR_STRING;
|
||||
tv->vval.v_string = vim_strsave(iptr->isn_arg.string);
|
||||
tv->vval.v_string = vim_strsave(
|
||||
iptr->isn_arg.string == NULL
|
||||
? (char_u *)"" : iptr->isn_arg.string);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Reference in New Issue
Block a user