mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4358: Vim9: line number of exception is not set
Problem: Vim9: line number of exception is not set. Solution: Set the line number before throwing an exception. (closes #9755)
This commit is contained in:
@@ -3826,6 +3826,7 @@ exec_instructions(ectx_T *ectx)
|
||||
}
|
||||
}
|
||||
|
||||
SOURCING_LNUM = iptr->isn_lnum;
|
||||
if (throw_exception(tv->vval.v_string, ET_USER, NULL)
|
||||
== FAIL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user