commit | 8acb9cc6209768ca7ec75c9f7af8c389312ea8d6 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Mar 08 13:18:55 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Mar 08 13:18:55 2022 +0000 |
tree | 8a5f92b1b10f53f7a3f0e95ffbdcb519ce9ecb09 | |
parent | 08238045e769fce2d5bf1e17167e26eafc3d72b8 [diff] [blame] |
patch 8.2.4526: Vim9: cannot set variables to a null value Problem: Vim9: cannot set variables to a null value. Solution: Add null_list, null_job, etc.
diff --git a/src/vim9script.c b/src/vim9script.c index 74f9325..6dce572 100644 --- a/src/vim9script.c +++ b/src/vim9script.c
@@ -1062,6 +1062,14 @@ "true", "false", "null", + "null_blob", + "null_dict", + "null_function", + "null_list", + "null_partial", + "null_string", + "null_channel", + "null_job", "this", NULL };