Skip to content

Conversation

@jansvoboda11
Copy link

This is crucial when recovering from fatal loader errors. Without it, the Lexer keeps yielding more tokens and the compiler may access invalid ASTReader state.

rdar://133388373

(cherry picked from commit cde90e6)

This is crucial when recovering from fatal loader errors. Without it,
the `Lexer` keeps yielding more tokens and the compiler may access
invalid `ASTReader` state.

rdar://133388373
(cherry picked from commit cde90e6)
@jansvoboda11 jansvoboda11 requested a review from a team as a code owner April 4, 2025 17:29
@jansvoboda11
Copy link
Author

@swift-ci please test

@jansvoboda11 jansvoboda11 merged commit 20b1136 into stable/20240723 Apr 5, 2025
3 checks passed
@jansvoboda11 jansvoboda11 deleted the jan_svoboda/stable-scanner-cut-off-lexing-crash branch April 5, 2025 02:42
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