Skip to content
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

Fix: Test watch won't start on v0.10.1 #456

Merged
merged 3 commits into from
Oct 2, 2024

Conversation

straightchlorine
Copy link
Contributor

On the version v0.10.1, supports_method is still a table, rather than a function. Trying to access the table field as a function resulted in following error:

attempt to call field 'supports_method' (a table value)

This behavior is now fixed.

On the version v0.10.1, supports_method is still a table, rather than
a function. Code was trying to call a regular table field as a function,
resulting in following error:

attempt to call field 'supports_method' (a table value)

Now the type of the client.supports_method is checked beforehand,
instead of accessing the method right away.
@rcasia
Copy link
Contributor

rcasia commented Sep 25, 2024

My fault. I was distracted in #451 because of neotest not working in the neovim nightly version. I was preparing a fix for this as well and I have just one correction.

Copy link

@tftiwnbe tftiwnbe left a comment

Choose a reason for hiding this comment

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

Reviewed the changes, the issue is resolved. Everything works correctly

@rcarriga
Copy link
Collaborator

rcarriga commented Oct 2, 2024

Thanks for the PR!

@rcarriga rcarriga merged commit 245a65e into nvim-neotest:master Oct 2, 2024
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