mirror of
https://github.com/vim/vim.git
synced 2025-10-04 05:25:06 -04:00
patch 8.2.1868: Vim9: no error for missing space after comma in dict
Problem: Vim9: no error for missing space after comma in dict. Solution: Check for white space. (closes #6672)
This commit is contained in:
@@ -1880,6 +1880,7 @@ def Test_expr7_dict()
|
||||
CheckDefFailure(["var x = #{a : 8}"], 'E1068:', 1)
|
||||
CheckDefFailure(["var x = #{a :8}"], 'E1068:', 1)
|
||||
CheckDefFailure(["var x = #{a: 8 , b: 9}"], 'E1068:', 1)
|
||||
CheckDefFailure(["var x = #{a: 1,b: 2}"], 'E1069:', 1)
|
||||
|
||||
CheckDefFailure(["var x = #{8: 8}"], 'E1014:', 1)
|
||||
CheckDefFailure(["var x = #{xxx}"], 'E720:', 1)
|
||||
|
Reference in New Issue
Block a user