Skip to content

[CSSyntaticElement] Canonicalize type before collecting "in scope" va… #65071

New issue

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

Merged
merged 1 commit into from
Apr 12, 2023

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