comparison src/vim9compile.c @ 21562:55aa283a0e5e v8.2.1331

patch 8.2.1331: Vim9: :echo with two lists doesn't work Commit: https://github.com/vim/vim/commit/badd8486f7442bfcf55e0234ece80488958e7114 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 31 22:38:17 2020 +0200 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 https://github.com/vim/vim/issues/6552)
author Bram Moolenaar <Bram@vim.org>
date Fri, 31 Jul 2020 22:45:04 +0200
parents 1c4d4aa22b37
children 30a997217524
comparison
equal deleted inserted replaced
21561:67a2eea13464 21562:55aa283a0e5e
3853 // TODO: base value may not be the first argument 3853 // TODO: base value may not be the first argument
3854 if (compile_call(arg, p - *arg, cctx, ppconst, 1) == FAIL) 3854 if (compile_call(arg, p - *arg, cctx, ppconst, 1) == FAIL)
3855 return FAIL; 3855 return FAIL;
3856 } 3856 }
3857 } 3857 }
3858 else if (*p == '[') 3858 else if (**arg == '[')
3859 { 3859 {
3860 garray_T *stack = &cctx->ctx_type_stack; 3860 garray_T *stack = &cctx->ctx_type_stack;
3861 type_T **typep; 3861 type_T **typep;
3862 vartype_T vtype; 3862 vartype_T vtype;
3863 3863