Skip to content

[5.10][ASTGen] Relax assertion on BridgedSourceLoc initializer #68969

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

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented Oct 4, 2023

Cherry-pick the equivalent of #68778 to release/5.10.


We do allow SourceLoc to point to the address right after the buffer ends to point to the end of a file.

Fixes an issue found by the SourceKit stress tester.

We do allow `SourceLoc` to point to the address right after the buffer ends to point to the end of a file.

Fixes an issue found by the SourceKit stress tester.
@ahoppen ahoppen requested a review from bnbarham October 4, 2023 21:25
@ahoppen ahoppen requested a review from a team as a code owner October 4, 2023 21:25
@ahoppen ahoppen changed the title [ASTGen] Relax assertion on BridgedSourceLoc initializer [5.10][ASTGen] Relax assertion on BridgedSourceLoc initializer Oct 4, 2023
@ahoppen ahoppen added 🍒 release cherry pick Flag: Release branch cherry picks swift 5.10 labels Oct 4, 2023
@ahoppen
Copy link
Member Author

ahoppen commented Oct 4, 2023

@swift-ci Please test

@ahoppen ahoppen merged commit 9132d18 into swiftlang:release/5.10 Oct 5, 2023
@ahoppen ahoppen deleted the ahoppen/5.10/relax-assertion branch October 5, 2023 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒 release cherry pick Flag: Release branch cherry picks swift 5.10
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants