]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.2371: Vim9: crash when using types in :for with unpack v8.2.2371
authorBram Moolenaar <Bram@vim.org>
Sun, 17 Jan 2021 19:23:38 +0000 (20:23 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 17 Jan 2021 19:23:38 +0000 (20:23 +0100)
commit036d07144efe213199b1ed8de998e6f12a056499
treedbfcf44e135229e87a065801ac8a2e3d9b093b22
parent1430ceeb2d4185a8d60fa81007fbc8b74fd68c46
patch 8.2.2371: Vim9: crash when using types in :for with unpack

Problem:    Vim9: crash when using types in :for with unpack.
Solution:   Check for skip_var_list() failing. Pass include_type to
            skip_var_one(). Skip type when compiling. (closes #7694)
src/evalvars.c
src/testdir/test_vim9_script.vim
src/version.c
src/vim9compile.c