0
0
mirror of https://github.com/vim/vim.git synced 2025-10-01 04:54:07 -04:00

patch 8.2.1156: Vim9: No error for invalid command in compiled function

Problem:    Vim9: No error for invalid command in compiled function.
Solution:   Handle CMD_SIZE.
This commit is contained in:
Bram Moolenaar
2020-07-08 17:47:57 +02:00
parent 7a4b8980ea
commit 002262f4de
3 changed files with 7 additions and 1 deletions

View File

@@ -1420,7 +1420,7 @@ func Test_expr_fails()
call CheckDefFailure(["let x = '1'is2"], 'E488:')
call CheckDefFailure(["let x = '1'isnot2"], 'E488:')
call CheckDefExecFailure(["CallMe ('yes')"], 'E492:')
call CheckDefFailure(["CallMe ('yes')"], 'E476:')
call CheckDefFailure(["CallMe2('yes','no')"], 'E1069:')
call CheckDefFailure(["CallMe2('yes' , 'no')"], 'E1068:')