forked from tree-sitter/tree-sitter-scala
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace dynamic with additional node
**Problem** 350 introduced a dynamic precedence to resolve the conflict of Scala 2 and Scala 3 grammar for if-then. **Solution** This removes the dynamic precedence and replaces it with prec.right around `then` side. **Note** There's a report of parser getting stuck tree-sitter#392 and and I was hoping that removing dynamic precedence would fix that, but it didn't seem to.
- Loading branch information
Showing
2 changed files
with
10 additions
and
11 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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