From bd3a9d2c946bae0427d7c9b9249716064935fb4e Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 17 May 2022 16:12:39 +0100 Subject: patch 8.2.4973: Vim9: type error for list unpack mentions argument Problem: Vim9: type error for list unpack mentions argument. Solution: Mention variable. (close #10435) --- src/vim9.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/vim9.h') diff --git a/src/vim9.h b/src/vim9.h index 1b5a58b8c..3ab1c5aa9 100644 --- a/src/vim9.h +++ b/src/vim9.h @@ -296,6 +296,7 @@ typedef struct { type_T *ct_type; int8_T ct_off; // offset in stack, -1 is bottom int8_T ct_arg_idx; // argument index or zero + int8_T ct_is_var; // when TRUE checking variable instead of arg } checktype_T; // arguments to ISN_STORENR -- cgit v1.2.1