Skip to content

Conversation

@eeckstein
Copy link
Contributor

For example:
public func test(_ a: Int, _ b: Int)
public func test(_ t: (Int, Int))

fixes rdar://problem/31211238

@eeckstein
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@jrose-apple
Copy link
Contributor

This is also SR-1795 and rdar://21655241.

@jrose-apple
Copy link
Contributor

Another test case:

func foo(_: ()) {}
func foo() {}

@slavapestov
Copy link
Contributor

Another case we currently get wrong is varargs that are not in the last argument position. @jckarter knows the details.

@jrose-apple
Copy link
Contributor

That one's SR-1076. :-)

…th all args in a tuple.

For example:
public func test(_ a: Int, _ b: Int)
public func test(_ t: (Int, Int))

fixes rdar://problem/31211238
@eeckstein eeckstein force-pushed the arg-tuple-mangling branch from 72b3072 to 11f66f8 Compare March 25, 2017 00:09
@eeckstein
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@eeckstein
Copy link
Contributor Author

@jrose-apple Thanks for the additional test case!

@eeckstein
Copy link
Contributor Author

@swift-ci Please smoke test and merge

@swift-ci swift-ci merged commit ebee60d into swiftlang:master Mar 25, 2017
@eeckstein eeckstein deleted the arg-tuple-mangling branch March 25, 2017 02:28
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.

4 participants