[vim/vim] Fix exception throwing after silent try (PR #15128)

6 views
Skip to first unread message

LemonBoy

unread,
Jun 29, 2024, 8:59:51 AM (4 days ago) Jun 29
to vim/vim, Subscribed

The silent! flag causes the evaluation not to be aborted in case of uncaught exceptions, adjust handle_did_throw to take this detail into account.

Fixes the long-standing todo.txt item:

Problem that a previous silent ":throw" causes a following try/catch not
to work. (ZyX, 2013 Sep 28) With examples: (Malcolm Rowe, 2015 Dec 24)
Also see #8487 for an example.

Fixes #538


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/15128

Commit Summary

  • 5136739 Fix exception throwing after silent try

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/15128@github.com>

Reply all
Reply to author
Forward
0 new messages