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

Add pattern matching 'in' #121941

Merged
merged 1 commit into from May 2, 2021
Merged

Add pattern matching 'in' #121941

merged 1 commit into from May 2, 2021

Conversation

plankp
Copy link
Contributor

@plankp plankp commented Apr 22, 2021

Ruby added a case/in syntax for pattern matching (see here, it is similar to the case/when syntax).

This PR makes the indenting for in the same as when:

Current behavior:

before.mov

Updated behavior:

after.mov

@aeschli aeschli added this to the May 2021 milestone May 2, 2021
@aeschli aeschli merged commit dc8bd9c into microsoft:main May 2, 2021
@aeschli
Copy link
Contributor

aeschli commented May 2, 2021

Thanks @plankp !

@github-actions github-actions bot locked and limited conversation to collaborators Jun 16, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants