commit | 03290b8444b69c6d7307755770467bc488384e1a | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Dec 19 16:30:44 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Dec 19 16:30:44 2020 +0100 |
tree | 7b6b7eaaa41c2f2194a0712f6848fe8209552af6 | |
parent | 1f33e0a7c4cd278158b37f91a2aa44f0bcd1f21a [diff] [blame] |
patch 8.2.2162: Vim9: Cannot load or store autoload variables Problem: Vim9: Cannot load or store autoload variables. Solution: Add ISN_LOADAUTO and ISN_STOREAUTO. (closes #7485)
diff --git a/src/dict.c b/src/dict.c index 051ba2f..5abb996 100644 --- a/src/dict.c +++ b/src/dict.c
@@ -1073,7 +1073,7 @@ && HI2DI(hi2)->di_tv.v_type == VAR_FUNC && var_wrong_func_name(hi2->hi_key, di1 == NULL)) break; - if (!valid_varname(hi2->hi_key)) + if (!valid_varname(hi2->hi_key, TRUE)) break; } if (di1 == NULL)