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: match expressions #58

Merged
merged 5 commits into from
Jul 19, 2024
Merged

feat: match expressions #58

merged 5 commits into from
Jul 19, 2024

Conversation

scrabsha
Copy link
Owner

Title says everything.

Sadly the support is not as complete as I'd like it to be.

It turns out it's incredibly hard to guess if the operand is a block expression or not. This requires many refactorings that I'm too tired to do. The result is that the , is required at the end of the match arm, even if the operand is a block expression.

Part of #29.

@scrabsha scrabsha mentioned this pull request Jul 19, 2024
10 tasks
@scrabsha scrabsha merged commit 31d1aa9 into main Jul 19, 2024
11 checks passed
@scrabsha scrabsha deleted the sasha/match-exprs branch July 19, 2024 23:55
Signed-off-by: Sasha Pourcelot <sasha.pourcelot@protonmail.com>
Signed-off-by: Sasha Pourcelot <sasha.pourcelot@protonmail.com>
Signed-off-by: Sasha Pourcelot <sasha.pourcelot@protonmail.com>
Signed-off-by: Sasha Pourcelot <sasha.pourcelot@protonmail.com>
Signed-off-by: Sasha Pourcelot <sasha.pourcelot@protonmail.com>
@scrabsha scrabsha mentioned this pull request Oct 10, 2024
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.

1 participant