forked from aniani/vim
patch 8.2.2300: Vim9: wrong order on type stack when using dict
Problem: Vim9: wrong order on type stack when using dict. Solution: Generate constants before a dict. (closes #7619)
This commit is contained in:
@@ -3027,6 +3027,8 @@ compile_dict(char_u **arg, cctx_T *cctx, ppconst_T *ppconst)
|
||||
|
||||
if (d == NULL)
|
||||
return FAIL;
|
||||
if (generate_ppconst(cctx, ppconst) == FAIL)
|
||||
return FAIL;
|
||||
for (;;)
|
||||
{
|
||||
char_u *key = NULL;
|
||||
|
Reference in New Issue
Block a user