Mercurial > vim
comparison src/structs.h @ 26937:7045e9308ca3 v8.2.3997
patch 8.2.3997: Vim9: not enough testing for extend() and map()
Commit: https://github.com/vim/vim/commit/10d6f18b2f9090d19dd884827c4be59a20b446bf
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jan 4 15:54:38 2022 +0000
patch 8.2.3997: Vim9: not enough testing for extend() and map()
Problem: Vim9: not enough testing for extend() and map().
Solution: Add more test cases. Fix uncovered problems. Remove unused type
fields.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Jan 2022 17:00:04 +0100 |
parents | ccb9be1cdd71 |
children | aa613a3084b9 |
comparison
equal
deleted
inserted
replaced
26936:6b6a26145714 | 26937:7045e9308ca3 |
---|---|
1511 listitem_T *lv_idx_item; // when not NULL item at index "lv_idx" | 1511 listitem_T *lv_idx_item; // when not NULL item at index "lv_idx" |
1512 int lv_idx; // cached index of an item | 1512 int lv_idx; // cached index of an item |
1513 } mat; | 1513 } mat; |
1514 } lv_u; | 1514 } lv_u; |
1515 type_T *lv_type; // current type, allocated by alloc_type() | 1515 type_T *lv_type; // current type, allocated by alloc_type() |
1516 type_T *lv_decl_type; // declared type, allocated by alloc_type() | |
1517 list_T *lv_copylist; // copied list used by deepcopy() | 1516 list_T *lv_copylist; // copied list used by deepcopy() |
1518 list_T *lv_used_next; // next list in used lists list | 1517 list_T *lv_used_next; // next list in used lists list |
1519 list_T *lv_used_prev; // previous list in used lists list | 1518 list_T *lv_used_prev; // previous list in used lists list |
1520 int lv_refcount; // reference count | 1519 int lv_refcount; // reference count |
1521 int lv_len; // number of items | 1520 int lv_len; // number of items |
1576 char dv_scope; // zero, VAR_SCOPE, VAR_DEF_SCOPE | 1575 char dv_scope; // zero, VAR_SCOPE, VAR_DEF_SCOPE |
1577 int dv_refcount; // reference count | 1576 int dv_refcount; // reference count |
1578 int dv_copyID; // ID used by deepcopy() | 1577 int dv_copyID; // ID used by deepcopy() |
1579 hashtab_T dv_hashtab; // hashtab that refers to the items | 1578 hashtab_T dv_hashtab; // hashtab that refers to the items |
1580 type_T *dv_type; // current type, allocated by alloc_type() | 1579 type_T *dv_type; // current type, allocated by alloc_type() |
1581 type_T *dv_decl_type; // declared type, allocated by alloc_type() | |
1582 dict_T *dv_copydict; // copied dict used by deepcopy() | 1580 dict_T *dv_copydict; // copied dict used by deepcopy() |
1583 dict_T *dv_used_next; // next dict in used dicts list | 1581 dict_T *dv_used_next; // next dict in used dicts list |
1584 dict_T *dv_used_prev; // previous dict in used dicts list | 1582 dict_T *dv_used_prev; // previous dict in used dicts list |
1585 }; | 1583 }; |
1586 | 1584 |