patch 8.2.2543: Vim9: a return inside try/catch does not restore properly

Problem:    Vim9: a return inside try/catch does not restore exception state
            properly.
Solution:   When there is no ":finally" jump to ":endtry". (closes #7882)
This commit is contained in:
Bram Moolenaar
2021-02-22 22:45:10 +01:00
parent 41f0895c6e
commit 9cb577a682
3 changed files with 20 additions and 4 deletions

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2543,
/**/
2542,
/**/