Skip to content

Sema: generalize findSyntacticErrorForConsume #76660

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
Sep 26, 2024
Merged

Conversation

kavon
Copy link
Member

@kavon kavon commented Sep 23, 2024

Since this function is being called from the constraint solver now, we need to generalize the way it obtains the Type of an Expression, as the expression itself may not know its own type, only the solver does.

resolves rdar://134371893 / #75999

@kavon
Copy link
Member Author

kavon commented Sep 23, 2024

@swift-ci smoke test

@kavon kavon enabled auto-merge September 23, 2024 21:29
@kavon kavon disabled auto-merge September 23, 2024 21:52
@kavon
Copy link
Member Author

kavon commented Sep 24, 2024

Linux failure seems unrelated.

Since this function is being called from the constraint solver now, we
need to generalize the way it obtains the Type of an Expression, as the
expression itself may not know its own type, only the solver does.

resolves rdar://134371893 / swiftlang#75999
@kavon
Copy link
Member Author

kavon commented Sep 24, 2024

@swift-ci smoke test

@kavon kavon enabled auto-merge September 24, 2024 21:01
@kavon
Copy link
Member Author

kavon commented Sep 25, 2024

@swift-ci smoke test windows

@kavon kavon merged commit 9569eaf into swiftlang:main Sep 26, 2024
3 checks passed
@kavon kavon deleted the small-fixes branch September 26, 2024 23:04
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.

3 participants