Skip to content

[CSClosure] Fix handling of non-representivate variables #62773

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
Jan 4, 2023

Conversation

xedin
Copy link
Contributor

@xedin xedin commented Dec 24, 2022

All of the type variables referenced by a type had to be handled by inferVariables
otherwise it would to possible to bring non-representative variable into scope which
in turn later would get simplied into a variable that doesn't exist in the active scope
and solver would crash.

Resolves: rdar://83418797

All of the type variables referenced by a type had to be
handled by `inferVariables` otherwise it would to possible
to bring non-representative variable into scope which in
turn later would get simplied into a variable that doesn't
exist in the active scope and solver would crash.

Resolves: rdar://83418797
@xedin xedin requested a review from hborla December 24, 2022 04:12
@xedin
Copy link
Contributor Author

xedin commented Dec 24, 2022

@swift-ci please test

@xedin
Copy link
Contributor Author

xedin commented Dec 24, 2022

@swift-ci please test source compatibility

@xedin
Copy link
Contributor Author

xedin commented Dec 25, 2022

@swift-ci please test Linux platform

@xedin
Copy link
Contributor Author

xedin commented Dec 25, 2022

@swift-ci please test source compatibility release

@xedin
Copy link
Contributor Author

xedin commented Jan 3, 2023

Source compatibility failures are unrelated and happen on main as well.

@xedin xedin merged commit f8bf74b into swiftlang:main Jan 4, 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.

2 participants