mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2034: Vim9: list unpack in for statement not compiled yet
Problem: Vim9: list unpack in for statement not compiled yet. Solution: Compile list unpack. (closes #7345)
This commit is contained in:
@@ -1397,11 +1397,11 @@ set_var_lval(
|
||||
++lp->ll_n1;
|
||||
}
|
||||
if (ri != NULL)
|
||||
emsg(_("E710: List value has more items than target"));
|
||||
emsg(_(e_list_value_has_more_items_than_targets));
|
||||
else if (lp->ll_empty2
|
||||
? (lp->ll_li != NULL && lp->ll_li->li_next != NULL)
|
||||
: lp->ll_n1 != lp->ll_n2)
|
||||
emsg(_("E711: List value has not enough items"));
|
||||
emsg(_(e_list_value_does_not_have_enough_items));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user