mirror of
https://github.com/vim/vim.git
synced 2025-10-03 05:14:07 -04:00
patch 8.2.3084: Vim9: builtin function argument types are not checked
Problem: Vim9: builtin function argument types are not checked at compile time. Solution: Add argument types. (Yegappan Lakshmanan, closes #8503)
This commit is contained in:
committed by
Bram Moolenaar
parent
72463f883c
commit
a26f56f675
@@ -2970,13 +2970,6 @@ def Test_expr7_method_call()
|
||||
END
|
||||
CheckDefAndScriptSuccess(lines)
|
||||
|
||||
lines =<< trim END
|
||||
def RetVoid()
|
||||
enddef
|
||||
RetVoid()->byte2line()
|
||||
END
|
||||
CheckDefExecAndScriptFailure(lines, 'E1031:')
|
||||
|
||||
lines =<< trim END
|
||||
def RetVoid()
|
||||
enddef
|
||||
|
Reference in New Issue
Block a user