]> granicus.if.org Git - vim/commit
patch 8.2.3142: Vim9: type check for has_key() argument is too strict v8.2.3142
authorBram Moolenaar <Bram@vim.org>
Sun, 11 Jul 2021 12:55:49 +0000 (14:55 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 11 Jul 2021 12:55:49 +0000 (14:55 +0200)
commit1aeddeb8bd29a69fa118734c7f27d7df1b37801f
treeb579bb8065f2e57b074529aacb1cac1e7a7b1d84
parentde69a7353e9bec552e15dbe3706a9f4e88080fce
patch 8.2.3142: Vim9: type check for has_key() argument is too strict

Problem:    Vim9: type check for has_key() argument is too strict.
Solution:   Also allow for a number key argument. (closes #8542)
src/evalfunc.c
src/testdir/test_vim9_builtin.vim
src/version.c