Mercurial > vim
comparison src/vim9.h @ 25605:6f13d9ea0d04 v8.2.3339
patch 8.2.3339: Vim9: cannot lock a member in a local dict
Commit: https://github.com/vim/vim/commit/aacc966c5d0ed91e33ed32b08f17cf4df3ca1394
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 13 19:40:51 2021 +0200
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().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 13 Aug 2021 19:45:03 +0200 |
parents | 2ae1d5a4ae5c |
children | 154663508d9b |
comparison
equal
deleted
inserted
replaced
25604:5ad1d3061d62 | 25605:6f13d9ea0d04 |
---|---|
68 ISN_UNLET, // unlet variable isn_arg.unlet.ul_name | 68 ISN_UNLET, // unlet variable isn_arg.unlet.ul_name |
69 ISN_UNLETENV, // unlet environment variable isn_arg.unlet.ul_name | 69 ISN_UNLETENV, // unlet environment variable isn_arg.unlet.ul_name |
70 ISN_UNLETINDEX, // unlet item of list or dict | 70 ISN_UNLETINDEX, // unlet item of list or dict |
71 ISN_UNLETRANGE, // unlet items of list | 71 ISN_UNLETRANGE, // unlet items of list |
72 | 72 |
73 ISN_LOCKUNLOCK, // :lock and :unlock for local variable member | |
73 ISN_LOCKCONST, // lock constant value | 74 ISN_LOCKCONST, // lock constant value |
74 | 75 |
75 // constants | 76 // constants |
76 ISN_PUSHNR, // push number isn_arg.number | 77 ISN_PUSHNR, // push number isn_arg.number |
77 ISN_PUSHBOOL, // push bool value isn_arg.number | 78 ISN_PUSHBOOL, // push bool value isn_arg.number |