Skip to content

[CSGen] Always record types of variables introduced by named patterns #38511

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

Closed
wants to merge 1 commit into from

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Jul 20, 2021

Follow-up for #38320

Typed patterns no longer use an intermediary type variable,
which created a problem for references to variables declared
inside of a pattern because their types weren't recorded in
constraint system.

Resolves: rdar://80797176

Follow-up for swiftlang#38320

Typed patterns no longer use an intermediary type variable,
which created a problem for references to variables declared
inside of a pattern because their types weren't recorded in
constraint system.

Resolves: rdar://80797176
@xedin
Copy link
Contributor Author

xedin commented Jul 20, 2021

@swift-ci please smoke test

@xedin
Copy link
Contributor Author

xedin commented Jul 20, 2021

@swift-ci please smoke test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Jul 20, 2021

@swift-ci please clean smoke test macOS platform

@xedin
Copy link
Contributor Author

xedin commented Jul 20, 2021

Looks like this is actually causing more problems so I'm going to revert #38320 instead of now.

@xedin xedin closed this Jul 20, 2021
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.

2 participants