Skip to content

Comments

Fix layout of LambdaExp string patterns#205

Merged
melsman merged 1 commit intomelsman:masterfrom
Skyb0rg007:barry-fix
Feb 16, 2026
Merged

Fix layout of LambdaExp string patterns#205
melsman merged 1 commit intomelsman:masterfrom
Skyb0rg007:barry-fix

Conversation

@Skyb0rg007
Copy link
Contributor

Barry currently miscompiles code such as

case s of "this is a string" => true | _ => false

into

case s of this is a string => true | _ => false

This PR fixes this, and adds a test case to guard against regressions.

@melsman melsman merged commit 0321e9c into melsman:master Feb 16, 2026
0 of 8 checks passed
@Skyb0rg007 Skyb0rg007 deleted the barry-fix branch February 16, 2026 14:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants