diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2021-07-15 12:49:58 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-15 12:49:58 +0200 |
commit | 1a71d31bf34b0b2b08517903826004ec6fd440e5 (patch) | |
tree | 05f54a00199737fe81fdf49e9ea72c09dba483d9 /src/globals.h | |
parent | c816a2c22667108fcd61f445de2c926f78ff9fa7 (diff) | |
download | vim-git-1a71d31bf34b0b2b08517903826004ec6fd440e5.tar.gz |
patch 8.2.3162: Vim9: argument types are not checked at compile timev8.2.3162
Problem: Vim9: argument types are not checked at compile time.
Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
Diffstat (limited to 'src/globals.h')
-rw-r--r-- | src/globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/globals.h b/src/globals.h index 54ecb8e1f..e486b6ea1 100644 --- a/src/globals.h +++ b/src/globals.h @@ -1698,6 +1698,7 @@ EXTERN char e_cannot_mod[] INIT(= N_("E995: Cannot modify existing variable")); EXTERN char e_readonlyvar[] INIT(= N_("E46: Cannot change read-only variable \"%s\"")); EXTERN char e_readonlysbx[] INIT(= N_("E794: Cannot set variable in the sandbox: \"%s\"")); EXTERN char e_stringreq[] INIT(= N_("E928: String required")); +EXTERN char e_numberreq[] INIT(= N_("E889: Number required")); EXTERN char e_emptykey[] INIT(= N_("E713: Cannot use empty key for Dictionary")); EXTERN char e_dictreq[] INIT(= N_("E715: Dictionary required")); EXTERN char e_listidx[] INIT(= N_("E684: list index out of range: %ld")); |