1
0
forked from aniani/vim

patch 8.2.1719: Vim9: no error if comma is missing in between arguments

Problem:    Vim9: no error if comma is missing in between arguments.
Solution:   Give an error message.
This commit is contained in:
Bram Moolenaar
2020-09-20 22:43:52 +02:00
parent b816dae16d
commit 10e4f12bf4
4 changed files with 13 additions and 0 deletions

View File

@@ -2112,6 +2112,7 @@ def Test_expr7_call()
"vim9script",
"let x = substitute ('x', 'x', 'x', 'x')"
], 'E121:', 2)
CheckDefFailure(["let Ref = function('len' [1, 2])"], 'E1123:', 1)
let auto_lines =<< trim END
def g:some#func(): string