forked from aniani/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 #6724) Add a way to assert the line number of the error with assert_fails().
This commit is contained in:
@@ -223,6 +223,7 @@ EXTERN int emsg_severe INIT(= FALSE); // use message of next of several
|
||||
// used by assert_fails()
|
||||
EXTERN int emsg_assert_fails_used INIT(= FALSE);
|
||||
EXTERN char_u *emsg_assert_fails_msg INIT(= NULL);
|
||||
EXTERN long emsg_assert_fails_lnum INIT(= 0);
|
||||
|
||||
EXTERN int did_endif INIT(= FALSE); // just had ":endif"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user