Skip to content

Conversation

@jrose-apple
Copy link
Contributor

Reverts #3895. It breaks cases where there really is a single unlabeled argument of tuple type, like this:

let pairs = [(1, "A"), (2, "B")]
print(pairs.map { $0.0 })

@jrose-apple
Copy link
Contributor Author

@swift-ci Please smoke test

@jrose-apple
Copy link
Contributor Author

This should be followed by reverts of the downstream patches swiftlang/swift-corelibs-foundation#497, swiftlang/swift-corelibs-xctest#149, and swiftlang/swift-package-manager#581; the changes there are incorrect for higher-order functions.

@jrose-apple
Copy link
Contributor Author

cc @dduan and @DougGregor (to keep everyone in the loop)

@dduan
Copy link
Contributor

dduan commented Aug 2, 2016

👍

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.

3 participants