0
0
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:
Yegappan Lakshmanan
2021-07-03 11:58:12 +02:00
committed by Bram Moolenaar
parent 72463f883c
commit a26f56f675
6 changed files with 645 additions and 146 deletions

View File

@@ -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