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

feat: given pattern #330

Merged
merged 2 commits into from
Aug 8, 2023
Merged

feat: given pattern #330

merged 2 commits into from
Aug 8, 2023

Conversation

susliko
Copy link
Collaborator

@susliko susliko commented Aug 7, 2023

Resolves #322

Summary

  • given_pattern now handles cases like:
for
  given Int <- Some(1)
yield summon[Int]
  • corpus/patterns.txt reformatted with tree-sitter test -u

Resolves tree-sitter#322

Summary
----
- `given_pattern` now handles cases like:
```scala
for
  given Int <- Some(1)
yield summon[Int]
```
- `corpus/patterns.txt` reformatted with `tree-sitter test -u`
grammar.js Show resolved Hide resolved
Copy link
Collaborator

@ckipp01 ckipp01 left a comment

Choose a reason for hiding this comment

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

Looks good! LGTM

@ckipp01 ckipp01 merged commit 3f75f62 into tree-sitter:master Aug 8, 2023
4 checks passed
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.

[scala 3] support given keyword inside for comprehension
2 participants