-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
try/catch is ignored while error in return statement #2483
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #2483 +/- ##
==========================================
- Coverage 74.58% 74.58% -0.01%
==========================================
Files 92 92
Lines 132982 132984 +2
==========================================
- Hits 99183 99180 -3
- Misses 33799 33804 +5
Continue to review full report at Codecov.
|
rhysd
added a commit
to rhysd/vital.vim
that referenced
this pull request
Dec 22, 2017
adizero
pushed a commit
to adizero/vim
that referenced
this pull request
May 19, 2018
Problem: Error in return not caught by try/catch. Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes vim#2483)
janlazo
added a commit
to janlazo/neovim
that referenced
this pull request
Sep 4, 2018
Problem: Error in return not caught by try/catch. Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes vim/vim#2483) vim/vim@fabaf75
janlazo
added a commit
to janlazo/neovim
that referenced
this pull request
Sep 18, 2018
Problem: Error in return not caught by try/catch. Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes vim/vim#2483) vim/vim@fabaf75
janlazo
added a commit
to janlazo/neovim
that referenced
this pull request
Oct 1, 2018
Problem: Error in return not caught by try/catch. Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes vim/vim#2483) vim/vim@fabaf75
janlazo
added a commit
to janlazo/neovim
that referenced
this pull request
Oct 10, 2018
Problem: Error in return not caught by try/catch. Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes vim/vim#2483) vim/vim@fabaf75
janlazo
added a commit
to janlazo/neovim
that referenced
this pull request
Oct 10, 2018
Problem: Error in return not caught by try/catch. Solution: Call update_force_abort(). (Yasuhiro Matsomoto, closes vim/vim#2483) vim/vim@fabaf75
dmitrivereshchagin
added a commit
to dmitrivereshchagin/vim-test
that referenced
this pull request
Jan 25, 2021
Test Runners that provide build_args() taking one argument cannot be used in Vim before 8.0.1423 (and Neovim, vim-test#505). This change adds workaround for Vim (and Neovim) versions that fail to caught an exception thrown from return statement: <vim/vim#2483>
dmitrivereshchagin
added a commit
to dmitrivereshchagin/vim-test
that referenced
this pull request
Jan 25, 2021
Test runners that provide build_args() taking one argument cannot be used in Vim before 8.0.1423 (and Neovim, vim-test#505). This change adds workaround for Vim (and Neovim) versions that fail to caught an exception thrown from return statement: <vim/vim#2483>
codeinabox
pushed a commit
to vim-test/vim-test
that referenced
this pull request
Jan 28, 2021
* Avoid uncaught exception in test#base#build_args() Test runners that provide build_args() taking one argument cannot be used in Vim before 8.0.1423 (and Neovim, #505). This change adds workaround for Vim (and Neovim) versions that fail to caught an exception thrown from return statement: <vim/vim#2483> * Add abort to function definition It's used by all function definitions and doesn't conflict with exception handling using try/catch. * Make catch pattern more precise Colon always follows error number.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This must be 1. But E691 occured.