patch 8.2.1876: Vim9: argument types are not checked at compile time

Problem:    Vim9: argument types for builtin functions are not checked at
            compile time.
Solution:   Add an argument type checking mechanism. Implement type checks for
            one function.
This commit is contained in:
Bram Moolenaar
2020-10-21 14:25:07 +02:00
parent 3da855c8e2
commit 94738d8fab
7 changed files with 1644 additions and 1051 deletions
+2
View File
@@ -31,6 +31,7 @@ SCRIPTS_TINY_OUT = \
# Tests for Vim9 script.
TEST_VIM9 = \
test_vim9_assign \
test_vim9_builtin \
test_vim9_cmd \
test_vim9_disassemble \
test_vim9_expr \
@@ -40,6 +41,7 @@ TEST_VIM9 = \
TEST_VIM9_RES = \
test_vim9_assign.res \
test_vim9_builtin.res \
test_vim9_cmd.res \
test_vim9_disassemble.res \
test_vim9_expr.res \