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 of comma is needlessly complex #8

Open
taku0 opened this issue Sep 14, 2016 · 0 comments
Open

Indentation of comma is needlessly complex #8

taku0 opened this issue Sep 14, 2016 · 0 comments

Comments

@taku0
Copy link
Owner

taku0 commented Sep 14, 2016

SE-0099 seems to precede SE-0043. So the following example is invalid in Swift 3.0:

if case let .Case1(x, _),
        let .Case2(_, x) = value {
}

Eliminating support for that case will simplify the indentation logic.

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

No branches or pull requests

1 participant