diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-21 20:21:29 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-21 20:21:29 +0100 |
commit | e32e516dfa46e9c5965d278f96aaf57573de8ac4 (patch) | |
tree | e3603d67218152c9ad5fc8cffbd28b95d4ce1511 /src/testdir/test_vim9_builtin.vim | |
parent | f904133e1a5ea84a124d3ece12b1f0a7392f1ca7 (diff) |
patch 8.2.2387: runtime type check does not mention argument indexv8.2.2387
Problem: Runtime type check does not mention argument index.
Solution: Add ct_arg_idx. (closes #7720)
Diffstat (limited to 'src/testdir/test_vim9_builtin.vim')
-rw-r--r-- | src/testdir/test_vim9_builtin.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_vim9_builtin.vim b/src/testdir/test_vim9_builtin.vim index 50dc2a0735..06b5ecdba5 100644 --- a/src/testdir/test_vim9_builtin.vim +++ b/src/testdir/test_vim9_builtin.vim @@ -263,7 +263,7 @@ def Test_extend_arg_types() CheckDefFailure(['extend({a: 1}, {b: 2}, 1)'], 'E1013: Argument 3: type mismatch, expected string but got number') CheckDefFailure(['extend([1], ["b"])'], 'E1013: Argument 2: type mismatch, expected list<number> but got list<string>') - CheckDefExecFailure(['extend([1], ["b", 1])'], 'E1012: Type mismatch; expected list<number> but got list<any>') + CheckDefExecFailure(['extend([1], ["b", 1])'], 'E1013: Argument 2: type mismatch, expected list<number> but got list<any>') enddef def Test_extendnew() |