Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented Nov 7, 2020

… being coerced to result type

While applying type inferred for autoclosure to argument use locator
that records argument/param indices to make it possible for
coerceToType to simplify it down to underlying argument expression
if necessary.

… being coerced to result type

While applying type inferred for autoclosure to argument use locator
that records argument/param indices to make it possible for
`coerceToType` to simplify it down to underlying argument expression
if necessary.
@xedin xedin requested a review from hborla November 7, 2020 02:00
@xedin
Copy link
Contributor Author

xedin commented Nov 7, 2020

This is something I have discovered while working on Double <-> CGFloat conversion experiment.

@xedin
Copy link
Contributor Author

xedin commented Nov 7, 2020

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Nov 7, 2020

@swift-ci please test source compatibility

@xedin xedin merged commit 6a753ac into swiftlang:main Nov 8, 2020
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.

1 participant