Skip to content

[CS] Fill in ErrorTypes for expressions that fail to type-check #74423

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
Jun 17, 2024

Conversation

hamishknight
Copy link
Contributor

Ensure we always produce typed AST, even if we fail to apply a solution. This fixes a cursor info issue where we'd to type-check a closure twice due to it not having a type set.

rdar://129417672

@hamishknight
Copy link
Contributor Author

@swift-ci please SourceKit stress test

@rintaro rintaro removed their request for review June 17, 2024 01:51
Ensure we always produce typed AST, even if we
fail to apply a solution. This fixes a cursor info
issue where we'd to type-check a closure twice
due to it not having a type set.

rdar://129417672
@hamishknight
Copy link
Contributor Author

@swift-ci please test

@hamishknight hamishknight enabled auto-merge June 17, 2024 18:39
@hamishknight hamishknight merged commit 61421e8 into swiftlang:main Jun 17, 2024
4 of 5 checks passed
@hamishknight hamishknight deleted the fully-typed branch June 18, 2024 08:41
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