vim-patch:partial:9.0.0327: items() does not work on a list

Problem:    items() does not work on a list. (Sergey Vlasov)
Solution:   Make items() work on a list. (closes vim/vim#11013)

976f859763

Skip CHECK_LIST_MATERIALIZE.

Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
zeertzjq
2024-07-30 11:08:16 +08:00
parent cd46383667
commit 96b358e9f1
3 changed files with 73 additions and 20 deletions

View File

@@ -237,13 +237,6 @@ typedef enum {
EXPR_ISNOT, ///< isnot
} exprtype_T;
/// Type for dict_list function
typedef enum {
kDictListKeys, ///< List dictionary keys.
kDictListValues, ///< List dictionary values.
kDictListItems, ///< List dictionary contents: [keys, values].
} DictListType;
// Used for checking if local variables or arguments used in a lambda.
extern bool *eval_lavars_used;