commit | 752fc692ace51459cb407ec117c147b3bbebc071 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Jan 04 21:57:11 2021 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Jan 04 21:57:11 2021 +0100 |
tree | dd33f983cfd706357c4198170b43dcbc0adcbd63 | |
parent | d62d87d8f3f337a25b7da72abf55fc8a4bb6100c [diff] [blame] |
patch 8.2.2301: Vim9: cannot unlet a dict or list item Problem: Vim9: cannot unlet a dict or list item. Solution: Add ISN_UNLETINDEX. Refactor assignment code to use for unlet.
diff --git a/src/vim9.h b/src/vim9.h index 0f1a9ab..49103ba 100644 --- a/src/vim9.h +++ b/src/vim9.h
@@ -60,6 +60,7 @@ ISN_UNLET, // unlet variable isn_arg.unlet.ul_name ISN_UNLETENV, // unlet environment variable isn_arg.unlet.ul_name + ISN_UNLETINDEX, // unlet item of list or dict ISN_LOCKCONST, // lock constant value