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

patch 8.2.2081: Vim9: cannot handle a linebreak after "=" in assignment

Problem:    Vim9: cannot handle a linebreak after "=" in assignment.
Solution:   Skip over linebreak. (closes #7407)
This commit is contained in:
Bram Moolenaar
2020-12-02 15:11:18 +01:00
parent ea87069d78
commit 7f76494aac
4 changed files with 23 additions and 3 deletions

View File

@@ -1940,7 +1940,6 @@ def Test_expr7_dict()
CheckDefFailure(["var x = {'a': xxx}"], 'E1001:', 1)
CheckDefFailure(["var x = {xx-x: 8}"], 'E1001:', 1)
CheckDefFailure(["var x = #{a: 1, a: 2}"], 'E721:', 1)
CheckDefFailure(["var x = #"], 'E1015:', 1)
CheckDefExecFailure(["var x = g:anint.member"], 'E715:', 1)
CheckDefExecFailure(["var x = g:dict_empty.member"], 'E716:', 1)