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

Indentation on colon not working with case clauses in a match/case expression. #9098

Closed
CyrusNajmabadi opened this issue Feb 23, 2016 · 3 comments

Comments

@CyrusNajmabadi
Copy link
Member

In a normal switch we align the cases when you type 'colon' in a case clause. This doesn't with in a case clause in match/case expressions

@gafter
Copy link
Member

gafter commented Feb 23, 2016

The LDM has no decided on a syntax for the switch expression. It is out of scope for the punch-through for build.

@gafter gafter added this to the 2.0 (RC) milestone Feb 25, 2016
@gafter gafter self-assigned this Apr 25, 2016
@gafter gafter modified the milestones: 2.0 (RC), 3.0 Apr 27, 2016
@gafter
Copy link
Member

gafter commented Apr 20, 2018

This bug does not make sense in the context of the current syntax.

@gafter gafter closed this as completed Apr 20, 2018
@CyrusNajmabadi
Copy link
Member Author

@gafter That's fine with me. HOwever, as part of the "match expressoin" work, can we ensure (and test) that formatting/indentation does do the right thing? i.e. when you enter, the 'cases' (or whatever we call them) should be aligned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants