Skip to content

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