mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 09:26:30 +00:00
vim-patch:8.2.1479: Vim9: error for list index uses wrong line number
Problem: Vim9: error for list index uses wrong line number.
Solution: Set source line number. (closes vim/vim#6724) Add a way to assert the
line number of the error with assert_fails().
1d634542cf
Co-authored-by: Bram Moolenaar <Bram@vim.org>
This commit is contained in:
@@ -197,6 +197,7 @@ EXTERN bool emsg_severe INIT(= false); // use message of next of several
|
||||
// used by assert_fails()
|
||||
EXTERN bool emsg_assert_fails_used INIT(= false);
|
||||
EXTERN char *emsg_assert_fails_msg INIT(= NULL);
|
||||
EXTERN long emsg_assert_fails_lnum INIT(= 0);
|
||||
|
||||
EXTERN bool did_endif INIT(= false); // just had ":endif"
|
||||
EXTERN dict_T vimvardict; // Dictionary with v: variables
|
||||
|
Reference in New Issue
Block a user