]> granicus.if.org Git - vim/commit
patch 9.0.1322: crash when indexing "any" which is an object v9.0.1322
authorBram Moolenaar <Bram@vim.org>
Sat, 18 Feb 2023 18:38:37 +0000 (18:38 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 18 Feb 2023 18:38:37 +0000 (18:38 +0000)
commit2c1c803c7e0cc356dd55a2cd49fbffbbf7db766e
treea9b33c47978efd0ffaf3f1ef10e547edc15d5b3e
parentd114975b9bec30ec1486ebc70db6b802d0f1cfb8
patch 9.0.1322: crash when indexing "any" which is an object

Problem:    Crash when indexing "any" which is an object.
Solution:   Check the index is a number.  Do not check the member type of an
            object.  (closes #12019)
src/testdir/test_vim9_class.vim
src/version.c
src/vim9compile.c
src/vim9execute.c