summaryrefslogtreecommitdiffstats
path: root/src/proto/evalvars.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-10-08 21:16:42 +0200
committerBram Moolenaar <Bram@vim.org>2020-10-08 21:16:42 +0200
commit10c65860f83589e0ca2498393d3cfef1115b7fe8 (patch)
tree5c52d0ded7ae00e522bcff80afff0e20bfed2389 /src/proto/evalvars.pro
parent0876c78527469ddf50c23244566dd5bc35004307 (diff)
patch 8.2.1813: Vim9: can assign wrong type to script dictv8.2.1813
Problem: Vim9: can assign wrong type to script dict. (Christian J. Robinson) Solution: Check the type if known.
Diffstat (limited to 'src/proto/evalvars.pro')
-rw-r--r--src/proto/evalvars.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/evalvars.pro b/src/proto/evalvars.pro
index 69655089ea..520fedd5ef 100644
--- a/src/proto/evalvars.pro
+++ b/src/proto/evalvars.pro
@@ -58,6 +58,7 @@ int eval_variable(char_u *name, int len, typval_T *rettv, dictitem_T **dip, int
void check_vars(char_u *name, int len);
dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload);
dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload);
+hashtab_T *get_script_local_ht(void);
void *lookup_scriptvar(char_u *name, size_t len, cctx_T *dummy);
hashtab_T *find_var_ht(char_u *name, char_u **varname);
char_u *get_var_value(char_u *name);