rubyide / vscode-ruby

Provides Ruby language and debugging support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby
MIT License
1.26k stars 285 forks source link

fix(language-server-ruby): call `node.isName` to get its value #808

Closed GoodForOneFare closed 2 years ago

GoodForOneFare commented 2 years ago

Changing a condition to test the return value of node.isNamed(), rather than the presence of an isNamed property.

Before making this change, I verified that web-tree-sitter's type defs and tree-sitter's implementation agree that isNamed is a function.

github-actions[bot] commented 2 years ago

This PR has not had activity for 30 days. It will be automatically closed in 30 days.