0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 8.2.1159: Vim9: no error for missing space after a comma

Problem:    Vim9: no error for missing space after a comma.
Solution:   Check for white space.
This commit is contained in:
Bram Moolenaar
2020-07-08 18:38:08 +02:00
parent b335b29e1c
commit 6b7a0a8c20
4 changed files with 11 additions and 1 deletions

View File

@@ -1014,6 +1014,7 @@ def Test_expr7_list()
call CheckDefExecFailure(["let x = g:anint[3]"], 'E714:')
call CheckDefFailure(["let x = g:list_mixed[xxx]"], 'E1001:')
call CheckDefFailure(["let x = [1,2,3]"], 'E1069:')
call CheckDefExecFailure(["let x = g:list_mixed['xx']"], 'E39:')
call CheckDefFailure(["let x = g:list_mixed[0"], 'E111:')
call CheckDefExecFailure(["let x = g:list_empty[3]"], 'E684:')