0
0
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:
Bram Moolenaar
2021-04-05 22:27:37 +02:00
parent 0d351a04e1
commit e8c4660a55
5 changed files with 50 additions and 7 deletions

View File

@@ -292,6 +292,7 @@ cause_errthrow(
// reaching do_errthrow().
elem->sfile = estack_sfile(ESTACK_NONE);
elem->slnum = SOURCING_LNUM;
elem->msg_compiling = estack_compiling;
}
}
}