summaryrefslogtreecommitdiff
path: root/src/vim9.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-05-17 16:12:39 +0100
committerBram Moolenaar <Bram@vim.org>2022-05-17 16:12:39 +0100
commitbd3a9d2c946bae0427d7c9b9249716064935fb4e (patch)
tree34f288f3fb505817dfc7fa31e1ac7a1a5986852d /src/vim9.h
parent1ff9c44267ce487145d22d75a96370d7f96ae8dd (diff)
downloadvim-git-bd3a9d2c946bae0427d7c9b9249716064935fb4e.tar.gz
patch 8.2.4973: Vim9: type error for list unpack mentions argumentv8.2.4973
Problem: Vim9: type error for list unpack mentions argument. Solution: Mention variable. (close #10435)
Diffstat (limited to 'src/vim9.h')
-rw-r--r--src/vim9.h1
1 files changed, 1 insertions, 0 deletions
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