Skip to content

More complex pattern matching in match statement.#242

Open
gerau wants to merge 2 commits intoBlockstreamResearch:masterfrom
gerau:simc/match-pattern-matching
Open

More complex pattern matching in match statement.#242
gerau wants to merge 2 commits intoBlockstreamResearch:masterfrom
gerau:simc/match-pattern-matching

Conversation

@gerau
Copy link
Contributor

@gerau gerau commented Mar 17, 2026

Closes #240 and #241.

Implementing this was easy enough, because we already have the logic for this pattern matching in assignments, so we simply reused it. Also existing logic allows us to use _ for unused variable.

@gerau gerau requested a review from delta1 as a code owner March 17, 2026 09:04
Copy link
Contributor

@stringhandler stringhandler left a comment

Choose a reason for hiding this comment

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

utACK

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.

Allow more complex pattern matching in match statement

2 participants