mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user