diff options
author | Yegappan Lakshmanan <yegappan@yahoo.com> | 2023-12-05 15:51:50 +0100 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-12-05 15:51:50 +0100 |
commit | 668971958c126d5e105fd44b60a4efcaf2c4b55c (patch) | |
tree | 660cd305570414d84a97bb8454cea6796ae17227 /src/testdir/test_vim9_class.vim | |
parent | 588f20decebebedba3ad733f4f443a597e9747c3 (diff) |
patch 9.0.2152: Using type unknown for List/Dict containersv9.0.2152
Problem: Using type unknown for List/Dict containers
Solution: Use 'any' instead
fixes: #13582
closes: #13625
Signed-off-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/testdir/test_vim9_class.vim')
-rw-r--r-- | src/testdir/test_vim9_class.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_vim9_class.vim b/src/testdir/test_vim9_class.vim index 3da4eb00f3..96d3ae58ab 100644 --- a/src/testdir/test_vim9_class.vim +++ b/src/testdir/test_vim9_class.vim @@ -8561,7 +8561,7 @@ def Test_dict_member_key_type_check() var a = A.new() a.Foo() END - v9.CheckSourceFailure(lines, 'E1012: Type mismatch; expected string but got dict<unknown>', 2) + v9.CheckSourceFailure(lines, 'E1012: Type mismatch; expected string but got dict<any>', 2) lines =<< trim END vim9script @@ -8582,7 +8582,7 @@ def Test_dict_member_key_type_check() var a = A.new() a.Foo() END - v9.CheckSourceFailure(lines, 'E1012: Type mismatch; expected number but got dict<unknown>', 3) + v9.CheckSourceFailure(lines, 'E1012: Type mismatch; expected number but got dict<any>', 3) enddef def Test_compile_many_def_functions_in_funcref_instr() |