commit | acbae18df528b6aee72ecfd66e344dc8be7b3775 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Dec 13 18:44:43 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Dec 13 18:44:43 2020 +0100 |
tree | d2a2ef75e33a735a20c1016276fe08176af44ed4 | |
parent | b5b9480ee936ef4cd0e350c468ef8c5f42fa398b [diff] [blame] |
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.
diff --git a/src/version.c b/src/version.c index 2d39c1b..f6c51e1 100644 --- a/src/version.c +++ b/src/version.c
@@ -751,6 +751,8 @@ static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2139, +/**/ 2138, /**/ 2137,