commit | 07802044b90b2cbcc64b2dfe235f019d7c37589c | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Sep 09 23:01:14 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Sep 09 23:01:14 2021 +0200 |
tree | 8f1d19d7f0204ad5876d73e83be81314e15350c7 | |
parent | efc084e3353d6854b6dac8b240f70cb0abb838ad [diff] [blame] |
patch 8.2.3423: Vim9: list += list creates a new list in :def function Problem: Vim9: list += list creates a new list in :def function. Solution: Append to the existing list.
diff --git a/src/structs.h b/src/structs.h index 5d1496f..8a94fc1 100644 --- a/src/structs.h +++ b/src/structs.h
@@ -4106,6 +4106,9 @@ EXPR_MULT, // * EXPR_DIV, // / EXPR_REM, // % + // used with ISN_ADDLIST + EXPR_COPY, // create new list + EXPR_APPEND, // append to first list } exprtype_T; /*