0
0
mirror of https://github.com/vim/vim.git synced 2025-10-04 05:25:06 -04:00

patch 8.2.2387: runtime type check does not mention argument index

Problem:    Runtime type check does not mention argument index.
Solution:   Add ct_arg_idx. (closes #7720)
This commit is contained in:
Bram Moolenaar
2021-01-21 20:21:29 +01:00
parent f904133e1a
commit e32e516dfa
7 changed files with 41 additions and 12 deletions

View File

@@ -224,7 +224,8 @@ typedef struct {
// arguments to ISN_CHECKTYPE
typedef struct {
type_T *ct_type;
int ct_off; // offset in stack, -1 is bottom
char ct_off; // offset in stack, -1 is bottom
char ct_arg_idx; // argument index or zero
} checktype_T;
// arguments to ISN_STORENR