mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 8.2.2725: Vim9: message about compiling is wrong when using try/catch
Problem: Vim9: message about compiling is wrong when using try/catch. Solution: Store the compiling flag with the message. (closes #8071)
This commit is contained in:
@@ -292,6 +292,7 @@ cause_errthrow(
|
||||
// reaching do_errthrow().
|
||||
elem->sfile = estack_sfile(ESTACK_NONE);
|
||||
elem->slnum = SOURCING_LNUM;
|
||||
elem->msg_compiling = estack_compiling;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user