forked from aniani/vim
patch 8.2.3221: Vim9: argument types are not checked at compile time
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8632)
This commit is contained in:
committed by
Bram Moolenaar
parent
2ec28aec9d
commit
a764e73d4f
@@ -521,8 +521,8 @@ def Test_try_catch_throw()
|
||||
assert_equal(344, n)
|
||||
|
||||
try
|
||||
echo len(v:true)
|
||||
catch /E701:/
|
||||
echo range(1, 2, 0)
|
||||
catch /E726:/
|
||||
n = 355
|
||||
endtry
|
||||
assert_equal(355, n)
|
||||
|
Reference in New Issue
Block a user