Skip to content

Conversation

dmitrivereshchagin
Copy link
Contributor

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 (see vim/vim#2483).

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>
It's used by all function definitions and doesn't conflict with
exception handling using try/catch.
Colon always follows error number.
@davycardinaal
Copy link

I ran into the same issue, thanks for this fix! Please merge :-)

@jordyvanvorselen
Copy link

Thanks! Was running into this as well.

Copy link
Collaborator

@codeinabox codeinabox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@codeinabox codeinabox merged commit 139247c into vim-test:master Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants