0
0
mirror of https://github.com/vim/vim.git synced 2025-09-30 04:44:14 -04:00

patch 8.2.1112: Vim9: no line continuation allowed in method call

Problem:    Vim9: no line continuation allowed in method call.
Solution:   Handle line continuation in expression before method call.
This commit is contained in:
Bram Moolenaar
2020-07-01 20:07:14 +02:00
parent 9a78e6df17
commit 5f195938d4
5 changed files with 50 additions and 21 deletions

View File

@@ -1281,9 +1281,9 @@ func Test_expr7_fails()
call CheckDefFailure(["let x = ''", "let y = x.memb"], 'E715:')
call CheckDefExecFailure(["[1, 2->len()"], 'E492:')
call CheckDefExecFailure(["[1, 2->len()"], 'E697:')
call CheckDefExecFailure(["#{a: 1->len()"], 'E488:')
call CheckDefExecFailure(["{'a': 1->len()"], 'E492:')
call CheckDefExecFailure(["{'a': 1->len()"], 'E723:')
endfunc
let g:Funcrefs = [function('add')]