commit | aacc966c5d0ed91e33ed32b08f17cf4df3ca1394 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Aug 13 19:40:51 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Aug 13 19:40:51 2021 +0200 |
tree | e4cc65bc97301d078e9cada2f3bf025a7fff049e | |
parent | 89071cb6a116a74f78f77a1853e6fada44872a15 [diff] [blame] |
patch 8.2.3339: Vim9: cannot lock a member in a local dict Problem: Vim9: cannot lock a member in a local dict. Solution: Get the local dict from the stack and pass it to get_lval().
diff --git a/src/globals.h b/src/globals.h index ebf236b..f09ad48 100644 --- a/src/globals.h +++ b/src/globals.h
@@ -1835,6 +1835,8 @@ #endif #ifdef FEAT_EVAL EXTERN int input_busy INIT(= 0); // when inside get_user_input() then > 0 + +EXTERN typval_T *lval_root INIT(= NULL); #endif #ifdef FEAT_BEVAL_TERM