Skip to content
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

[Basic] Bail in isBeforeInSource if root source files mismatch #80352

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

hamishknight
Copy link
Contributor

@hamishknight hamishknight commented Mar 27, 2025

This case is currently being hit for code completion, possibly due to an invalid ASTScope node range. Let's bail in non-asserts builds rather than crashing when attempting to access the generated source info.

I'm hoping #80339 will let us uncover the real issue here.

rdar://134522702

This case is currently being hit for code completion, possibly due
to an invalid ASTScope node range. Let's bail in non-asserts builds
rather than crashing when attempting to access the generated source
info.

rdar://134522702
@hamishknight
Copy link
Contributor Author

@swift-ci please smoke test

@hamishknight hamishknight merged commit c824be3 into swiftlang:main Mar 28, 2025
3 checks passed
@hamishknight hamishknight deleted the bail branch March 28, 2025 09:55
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