]> granicus.if.org Git - vim/commit
patch 8.2.2395: Vim9: error for wrong type may report wrong line number v8.2.2395
authorBram Moolenaar <Bram@vim.org>
Sat, 23 Jan 2021 12:39:14 +0000 (13:39 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 23 Jan 2021 12:39:14 +0000 (13:39 +0100)
commit9a562c184d98d82bb7506caf2071cfe15a92fa43
treea88dbd515d2b8dca397912fc230573b0ed0f5c5f
parent9ae3705b6ebd45086ca13c0f93a93f943559bd15
patch 8.2.2395: Vim9: error for wrong type may report wrong line number

Problem:    Vim9: error for wrong type may report wrong line number.
Solution:   Save and restore the line number when evaluating the expression.
            (closes #7727)
src/evalvars.c
src/testdir/test_vim9_assign.vim
src/version.c