10000 Parsing of case block with guard does not work · Issue #28 · lezer-parser/python · GitHub
[go: up one dir, main page]

Skip to content

Parsing of case block with guard does not work #28

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

Closed
yosozaki opened this issue Apr 16, 2025 · 1 comment
Closed

Parsing of case block with guard does not work #28

yosozaki opened this issue Apr 16, 2025 · 1 comment

Comments

@yosozaki
Copy link

The parsing of guard in the case block of the match statement is not working.
If I specify a value for if, it works fine, but if an expression is entered, it doesn't seem to work.

OK NG
Image Image
@marijnh
Copy link
Contributor
marijnh commented Apr 17, 2025

Thanks for spotting that. Attached patch should resolve it.

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

No branches or pull requests

2 participants
0