Skip to content

Preserve nested aliases when sorting - #3130

Merged
soutaro merged 2 commits into
ruby:masterfrom
OskarEichler:codex/sorter-nested-aliases
Sep 7, 2026
Merged

Preserve nested aliases when sorting#3130
soutaro merged 2 commits into
ruby:masterfrom
OskarEichler:codex/sorter-nested-aliases

Conversation

@OskarEichler

Copy link
Copy Markdown
Contributor

Summary: initialize the residual declaration partition so nested class, module, and type aliases are retained instead of being dropped or triggering an uninitialized value path.

Verification: focused baseline/fixed reproduction, combined RBS 4.2.0 consumer models, and RuboCop (738 files, zero offenses). No tests are added in this PR.

Compatibility: no public API removal or dependency/version change.

@soutaro soutaro self-assigned this Sep 7, 2026
@soutaro
soutaro enabled auto-merge September 7, 2026 08:06
@soutaro
soutaro added this pull request to the merge queue Sep 7, 2026
Merged via the queue into ruby:master with commit 8501e52 Sep 7, 2026
24 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