mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.2722: Vim9: crash when using LHS with double index
Problem: Vim9: crash when using LHS with double index. Solution: Handle lhs_dest which is "dest_expr". (closes #8068) Fix confusing error message for missing dict item.
This commit is contained in:
@@ -1474,7 +1474,7 @@ set_var_lval(
|
||||
{
|
||||
if (op != NULL && *op != '=')
|
||||
{
|
||||
semsg(_(e_letwrong), op);
|
||||
semsg(_(e_dictkey), lp->ll_newkey);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user