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)
diff --git a/src/eval.c b/src/eval.c
index 33976d2..6fea436 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -1397,11 +1397,11 @@
++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
{