]> granicus.if.org Git - vim/commit
patch 8.2.2543: Vim9: a return inside try/catch does not restore properly v8.2.2543
authorBram Moolenaar <Bram@vim.org>
Mon, 22 Feb 2021 21:45:10 +0000 (22:45 +0100)
committerBram Moolenaar <Bram@vim.org>
Mon, 22 Feb 2021 21:45:10 +0000 (22:45 +0100)
commit9cb577a68277d46cc1134ef1723e90ff5f1d1b5c
treeeefcd0fb53b76e9a54eaf5a3501a12c69b2b9a88
parent41f0895c6e3c7b921e3c102ad42be52b1be48018
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)
src/testdir/test_vim9_script.vim
src/version.c
src/vim9execute.c