Mercurial > vim
comparison src/vim9.h @ 28901:11609f025219 v8.2.4973
patch 8.2.4973: Vim9: type error for list unpack mentions argument
Commit: https://github.com/vim/vim/commit/bd3a9d2c946bae0427d7c9b9249716064935fb4e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 17 16:12:39 2022 +0100
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 https://github.com/vim/vim/issues/10435)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 17 May 2022 17:15:03 +0200 |
parents | d0241e74bfdb |
children | d269dd3cd31d |
comparison
equal
deleted
inserted
replaced
28900:7630685d3e43 | 28901:11609f025219 |
---|---|
294 // arguments to ISN_CHECKTYPE | 294 // arguments to ISN_CHECKTYPE |
295 typedef struct { | 295 typedef struct { |
296 type_T *ct_type; | 296 type_T *ct_type; |
297 int8_T ct_off; // offset in stack, -1 is bottom | 297 int8_T ct_off; // offset in stack, -1 is bottom |
298 int8_T ct_arg_idx; // argument index or zero | 298 int8_T ct_arg_idx; // argument index or zero |
299 int8_T ct_is_var; // when TRUE checking variable instead of arg | |
299 } checktype_T; | 300 } checktype_T; |
300 | 301 |
301 // arguments to ISN_STORENR | 302 // arguments to ISN_STORENR |
302 typedef struct { | 303 typedef struct { |
303 int stnr_idx; | 304 int stnr_idx; |