Skip to content

Fix layout of LambdaExp string patterns#205

Open
Skyb0rg007 wants to merge 1 commit intomelsman:masterfrom
Skyb0rg007:barry-fix
Open

Fix layout of LambdaExp string patterns#205
Skyb0rg007 wants to merge 1 commit intomelsman:masterfrom
Skyb0rg007:barry-fix

Conversation

@Skyb0rg007
Copy link

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.

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