0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.2.0103: using null object with execute() has strange effects

Problem:    Using null object with execute() has strange effects.
Solution:   Give an error message ofr Job and Channel.
This commit is contained in:
Bram Moolenaar
2020-01-08 19:32:18 +01:00
parent da292b07af
commit e2a8f0773e
5 changed files with 22 additions and 4 deletions

View File

@@ -5667,7 +5667,7 @@ tv_get_string_buf_chk(typval_T *varp, char_u *buf)
#endif
break;
case VAR_UNKNOWN:
emsg(_("E908: using an invalid value as a String"));
emsg(_(e_inval_string));
break;
}
return NULL;