0
0
mirror of https://github.com/vim/vim.git synced 2025-09-29 04:34:16 -04:00

patch 8.2.2763: Vim9: cannot use type in for loop unpack at script level

Problem:    Vim9: cannot use type in for loop unpack at script level.
Solution:   Advance over the type name.
This commit is contained in:
Bram Moolenaar
2021-04-14 13:30:46 +02:00
parent f62d73933a
commit a3589a0d6c
3 changed files with 18 additions and 9 deletions

View File

@@ -1523,7 +1523,7 @@ ex_let_one(
else
{
set_var_lval(&lv, p, tv, copy, flags, op, var_idx);
arg_end = p;
arg_end = lv.ll_name_end;
}
}
clear_lval(&lv);