Mercurial > vim
view src/testdir/test_alot.vim @ 23707:6e8a4a30d94d v8.2.2395
patch 8.2.2395: Vim9: error for wrong type may report wrong line number
Commit: https://github.com/vim/vim/commit/9a562c184d98d82bb7506caf2071cfe15a92fa43
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jan 23 13:39:14 2021 +0100
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 23 Jan 2021 13:45:04 +0100 |
parents | 4c9acbd6b3c7 |
children | 5dfee9b1eabe |
line wrap: on
line source
" A series of tests that can run in one Vim invocation. " This makes testing go faster, since Vim doesn't need to restart. source test_backup.vim source test_behave.vim source test_compiler.vim source test_ex_equal.vim source test_ex_undo.vim source test_ex_z.vim source test_ex_mode.vim source test_expand.vim source test_expand_dllpath.vim source test_expand_func.vim source test_feedkeys.vim source test_file_perm.vim source test_fnamemodify.vim source test_ga.vim source test_glob2regpat.vim source test_global.vim source test_jumps.vim source test_lispwords.vim source test_move.vim source test_put.vim source test_recover.vim source test_reltime.vim source test_scroll_opt.vim source test_searchpos.vim source test_set.vim source test_shift.vim source test_sha256.vim source test_tabline.vim source test_tagcase.vim source test_tagfunc.vim source test_unlet.vim source test_version.vim source test_wnext.vim