comparison src/testdir/test_vim9_script.vim @ 25368:1ffa8eb30353 v8.2.3221

patch 8.2.3221: Vim9: argument types are not checked at compile time Commit: https://github.com/vim/vim/commit/a764e73d4ffc5d046807c757eaacb9b0a5408152 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sun Jul 25 15:57:32 2021 +0200 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 https://github.com/vim/vim/issues/8632)
author Bram Moolenaar <Bram@vim.org>
date Sun, 25 Jul 2021 16:00:05 +0200
parents f03271631eb5
children e8e2c4d33b9b
comparison
equal deleted inserted replaced
25367:90ed0a369ac3 25368:1ffa8eb30353
519 n = 344 519 n = 344
520 endtry 520 endtry
521 assert_equal(344, n) 521 assert_equal(344, n)
522 522
523 try 523 try
524 echo len(v:true) 524 echo range(1, 2, 0)
525 catch /E701:/ 525 catch /E726:/
526 n = 355 526 n = 355
527 endtry 527 endtry
528 assert_equal(355, n) 528 assert_equal(355, n)
529 529
530 var P = function('g:NoSuchFunc') 530 var P = function('g:NoSuchFunc')