Avoid parsing assignment LHS as an expression list#83
Merged
Conversation
ddd15f4 to
f813172
Compare
Co-authored-by: Josh Vera <vera@github.com> Co-authored-by: Ayman Nadeem <aymannadeem@github.com>
651539f to
6352f43
Compare
theHamsta
added a commit
to theHamsta/nvim-treesitter
that referenced
this pull request
Sep 21, 2020
theHamsta
added a commit
to theHamsta/nvim-treesitter
that referenced
this pull request
Sep 21, 2020
vigoux
pushed a commit
to nvim-treesitter/nvim-treesitter
that referenced
this pull request
Sep 21, 2020
|
This commit causes the following error for me even in empty python files |
Contributor
|
@sencer that is a problem from nvim-treesitter, not the grammar. And it was fixed in the plugin already. |
Contributor
fixed by pinning to an older version of the parser. Updating to a 0.17.1 runtime in Neovim should fix the issue neovim/neovim#12931 |
|
Thanks! |
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
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 will make it easier to distinguish variable definitions from variable references when consuming this syntax tree.