]> granicus.if.org Git - vim/commit
patch 8.2.3165: Vim9: in a || expression the error line number may be wrong v8.2.3165
authorBram Moolenaar <Bram@vim.org>
Thu, 15 Jul 2021 13:40:58 +0000 (15:40 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 15 Jul 2021 13:40:58 +0000 (15:40 +0200)
commit9e60e899ee546a8a35c4cbe0319971719c1839e9
tree4126ed67ce70ed34c5f857acea53ab21ce4374e7
parent0894e0d8087aad4d467fd7b3d87b1930fe661916
patch 8.2.3165: Vim9: in a || expression the error line number may be wrong

Problem:    Vim9: in a || expression the error line number may be wrong.
Solution:   Save and restore the line number when checking the type.
            (closes #8569)
src/testdir/test_vim9_expr.vim
src/version.c
src/vim9compile.c