0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.0284: Vim9: assignment test fails

Problem:    Vim9: assignment test fails.
Solution:   Avoid duplicating "s:".
This commit is contained in:
Bram Moolenaar 2020-02-19 21:12:40 +01:00
parent fd1823e0b7
commit c0d656c89d
2 changed files with 3 additions and 1 deletions

View File

@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
284,
/**/
283,
/**/

View File

@ -3393,7 +3393,7 @@ compile_assignment(char_u *arg, exarg_T *eap, cmdidx_T cmdidx, cctx_T *cctx)
generate_LOAD(cctx, ISN_LOADG, 0, name + 2, type);
break;
case dest_script:
compile_load_scriptvar(cctx, name);
compile_load_scriptvar(cctx, name + (name[1] == ':' ? 2 : 0));
break;
case dest_env:
// Include $ in the name here