0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.1331: Vim9: :echo with two lists doesn't work

Problem:    Vim9: :echo with two lists doesn't work.
Solution:   Do not skip white space before []. (closes #6552)
This commit is contained in:
Bram Moolenaar
2020-07-31 22:38:17 +02:00
parent 3a53ec8bdd
commit badd8486f7
3 changed files with 11 additions and 1 deletions

View File

@@ -3855,7 +3855,7 @@ compile_subscript(
return FAIL;
}
}
else if (*p == '[')
else if (**arg == '[')
{
garray_T *stack = &cctx->ctx_type_stack;
type_T **typep;