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

Implement match condition #659

Open
MarcelGarus opened this issue Aug 14, 2023 · 0 comments · May be fixed by #861
Open

Implement match condition #659

MarcelGarus opened this issue Aug 14, 2023 · 0 comments · May be fixed by #861
Assignees
Labels
P: Compiler: Frontend Package: The compiler frontend T: Feature Type: New Features

Comments

@MarcelGarus
Copy link
Member

Match cases should have an optional condition that also has to be fulfilled for the case to be executed.

https://github.com/candy-lang/candy/blob/e98f2c346128138aed6b29f363237d8819f2cd59/language.md#pattern-matching

@MarcelGarus MarcelGarus added the T: Feature Type: New Features label Aug 14, 2023
@JonasWanke JonasWanke added the P: Compiler: Frontend Package: The compiler frontend label Aug 15, 2023
@fpottbaecker fpottbaecker self-assigned this Aug 31, 2023
@fpottbaecker fpottbaecker linked a pull request Jan 6, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: Compiler: Frontend Package: The compiler frontend T: Feature Type: New Features
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants