Skip to content

Conversation

@xedin
Copy link
Contributor

@xedin xedin commented Apr 11, 2023

…riables

Follow-up to #65048

getDesugaredType unwraps sugar types that appear in sequence,
to remove sugar from nested positions we need to get a canonical type.

Thanks to @slavapestov for pointing it out.

@xedin xedin requested a review from hborla as a code owner April 11, 2023 18:37
@xedin
Copy link
Contributor Author

xedin commented Apr 11, 2023

I have an idea for a test.

…riables

Follow-up to swiftlang#65048

`getDesugaredType` unwraps sugar types that appear in sequence,
to remove sugar from nested positions we need to get a canonical type.

Thanks to @slavapestov for pointing it out.
@xedin xedin force-pushed the rdar-107835060-followup branch from 19fc665 to 976c0b1 Compare April 11, 2023 18:54
@xedin xedin requested a review from slavapestov as a code owner April 11, 2023 18:54
@xedin
Copy link
Contributor Author

xedin commented Apr 11, 2023

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Apr 11, 2023

Just to be clear this has never worked before.

@xedin
Copy link
Contributor Author

xedin commented Apr 11, 2023

@swift-ci please test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Apr 12, 2023

@swift-ci please test Linux platform

2 similar comments
@xedin
Copy link
Contributor Author

xedin commented Apr 12, 2023

@swift-ci please test Linux platform

@xedin
Copy link
Contributor Author

xedin commented Apr 12, 2023

@swift-ci please test Linux platform

@xedin xedin merged commit 6c9bd8d into swiftlang:main Apr 12, 2023
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