Skip to content

Update materialized token's byteLength in withKind - #3467

Merged
hamishknight merged 1 commit into
swiftlang:mainfrom
hamishknight:update-token
Oct 8, 2026
Merged

hamishknight merged 1 commit into
swiftlang:mainfrom
hamishknight:update-token

Conversation

@hamishknight

@hamishknight hamishknight commented Oct 8, 2026 •

Copy link
Copy Markdown
Contributor

Seems like this has been missing for a while, but with the recent change to use it in the implementation of syntaxTextBytes in #3453, it can now result in incorrectly truncating the syntax token.

rdar://189459153

Seems like this has been missing for a while, but with the recent
change to use it in the implementation of `syntaxTextBytes`, it can
now result in incorrectly truncating the syntax token.

rdar://189459153
@hamishknight

Copy link
Copy Markdown
Contributor Author

@swift-ci please test

@rintaro rintaro left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@hamishknight
hamishknight enabled auto-merge October 8, 2026 13:46
@hamishknight
hamishknight merged commit 4bbd6c7 into swiftlang:main Oct 8, 2026
42 checks passed
@hamishknight
hamishknight deleted the update-token branch October 8, 2026 18:48
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.

2 participants