We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
md5: 60ed400fe7321e538540c2ed6bc55e02
Issue Description:
When you try to pattern match against tuple arguments, the resulting diagnostic is next to inscrutable.
let f: ((Int, Int), Int) -> Int = { (x, y), z in x } tmp.swift:1:43: error: consecutive statements on a line must be separated by ';' let f: ((Int, Int), Int) -> Int = { (x, y), z in x } ^ ; tmp.swift:1:43: error: expected expression let f: ((Int, Int), Int) -> Int = { (x, y), z in x } ^ tmp.swift:1:38: error: cannot find 'x' in scope let f: ((Int, Int), Int) -> Int = { (x, y), z in x } ^ tmp.swift:1:41: error: cannot find 'y' in scope let f: ((Int, Int), Int) -> Int = { (x, y), z in x } ^
We should fix this.
Reproduces with recent main @ 21e99917142c11f
The text was updated successfully, but these errors were encountered:
@swift-ci create
Sorry, something went wrong.
No branches or pull requests
Additional Detail from JIRA
md5: 60ed400fe7321e538540c2ed6bc55e02
Issue Description:
When you try to pattern match against tuple arguments, the resulting diagnostic is next to inscrutable.
We should fix this.
Reproduces with recent main @ 21e99917142c11f
The text was updated successfully, but these errors were encountered: