]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2139: Vim9: unreachable code in assignment v8.2.2139
authorBram Moolenaar <Bram@vim.org>
Sun, 13 Dec 2020 17:44:43 +0000 (18:44 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 13 Dec 2020 17:44:43 +0000 (18:44 +0100)
commitacbae18df528b6aee72ecfd66e344dc8be7b3775
treed2a2ef75e33a735a20c1016276fe08176af44ed4
parentb5b9480ee936ef4cd0e350c468ef8c5f42fa398b
patch 8.2.2139: Vim9: unreachable code in assignment

Problem:    Vim9: unreachable code in assignment.
Solution:   Don't check "new_local" when "has_index" is set.  Add test for
            wrong type of list index.
src/testdir/test_vim9_assign.vim
src/version.c
src/vim9compile.c