Skip to content

Limit flattened symbol links to key boundaries - #749

Open
OskarEichler wants to merge 1 commit into
ruby-i18n:masterfrom
OskarEichler:codex/flatten-link-boundary
Open

Limit flattened symbol links to key boundaries#749
OskarEichler wants to merge 1 commit into
ruby-i18n:masterfrom
OskarEichler:codex/flatten-link-boundary

Conversation

@OskarEichler

Copy link
Copy Markdown

Summary

Only apply flattened symbol links to an exact key or a dotted descendant.

The prefix-only match currently allows a link for foo to rewrite an unrelated sibling such as foobar.

Verification

  • focused external exact/nested/sibling link model
  • 1,607 base-suite runs / 2,674 assertions
  • 1,888 Rails-suite runs / 3,020 assertions
  • all 46 shipped Ruby files pass syntax checks

@radar

radar commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

I don't understand the "why" of this change. Please add further description to the PR.

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