Skip to content

Compare RBS strings as binary data - #3110

Merged
mame merged 2 commits into
ruby:masterfrom
OskarEichler:codex/binary-string-equality
Sep 18, 2026
Merged

mame merged 2 commits into
ruby:masterfrom
OskarEichler:codex/binary-string-equality

Conversation

@OskarEichler

Copy link
Copy Markdown
Contributor

Summary: compare equal-length internal strings as binary data so embedded NUL bytes cannot hide a later difference.\n\nReproduction: two equal-length record keys differing after an embedded NUL collapse into one before this change. The focused native-parser model retains both after the change.\n\nVerification: focused baseline/fixed model, combined RBS 4.2.0 consumer models, native hash model, and RuboCop (738 files, zero offenses).\n\nCompatibility: no API or format change; ordinary strings retain existing behavior. No tests are added in this PR.

@mame mame self-assigned this Sep 7, 2026
OskarEichler and others added 2 commits September 18, 2026 14:40
@mame
mame force-pushed the codex/binary-string-equality branch from cebbed2 to b4ecbe0 Compare September 18, 2026 05:42
@mame
mame enabled auto-merge September 18, 2026 05:42
@mame
mame added this pull request to the merge queue Sep 18, 2026
Merged via the queue into ruby:master with commit 457dfd5 Sep 18, 2026
25 checks passed
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