]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.1606: Vim9: cannot use "true" with has() v8.2.1606
authorBram Moolenaar <Bram@vim.org>
Sat, 5 Sep 2020 16:45:29 +0000 (18:45 +0200)
committerBram Moolenaar <Bram@vim.org>
Sat, 5 Sep 2020 16:45:29 +0000 (18:45 +0200)
commit04637e243d39f791cfc97c3ce96d99ef1bf047e1
tree9a0b639ceed7fdde69ca0deeaa9c2bfd9e5404c0
parentb02628b8a20ad0c42a097207b3b49ae5169d04d7
patch 8.2.1606: Vim9: cannot use "true" with has()

Problem:    Vim9: cannot use "true" with has().
Solution:   Use tv_get_bool(). (closes #6876)
src/evalfunc.c
src/testdir/test_vim9_func.vim
src/version.c