diff src/eval.c @ 19085:fd1070ff696b v8.2.0103

patch 8.2.0103: using null object with execute() has strange effects Commit: https://github.com/vim/vim/commit/e2a8f0773e91685843c062b1e48259712d5f2213 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 8 19:32:18 2020 +0100 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.
author Bram Moolenaar <Bram@vim.org>
date Wed, 08 Jan 2020 19:45:04 +0100
parents 3b1f83fdaabc
children e3848b251a01
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -5667,7 +5667,7 @@ tv_get_string_buf_chk(typval_T *varp, ch
 #endif
 	    break;
 	case VAR_UNKNOWN:
-	    emsg(_("E908: using an invalid value as a String"));
+	    emsg(_(e_inval_string));
 	    break;
     }
     return NULL;