commit | b9c0cd897ab4ad54f514187e89719c0241393f8b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Mon Apr 05 20:51:00 2021 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Mon Apr 05 20:51:00 2021 +0200 |
tree | d77cabb1e4f17c9221586b923a8b56888e138ba5 | |
parent | 2927c07b0ec627c13e863e1b84bec831743bce12 [diff] [blame] |
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.
diff --git a/src/eval.c b/src/eval.c index d492649..05b6584 100644 --- a/src/eval.c +++ b/src/eval.c
@@ -1474,7 +1474,7 @@ { if (op != NULL && *op != '=') { - semsg(_(e_letwrong), op); + semsg(_(e_dictkey), lp->ll_newkey); return; }