Skip to content

Support nested maps when concatenating source maps - #863

Closed
OskarEichler wants to merge 1 commit into
rails:mainfrom
OskarEichler:codex/nested-source-map-concatenation
Closed

Support nested maps when concatenating source maps#863
OskarEichler wants to merge 1 commit into
rails:mainfrom
OskarEichler:codex/nested-source-map-concatenation

Conversation

@OskarEichler

Copy link
Copy Markdown

Summary

  • preserve both source-map inputs while concatenating
  • recursively concatenate nested index maps, retaining section offsets and rebasing leaf sources
  • consume private line-count metadata only in the copied result
  • document the behavior in README and CHANGELOG

This consolidates and supersedes the narrower input-ownership change in #845.

Verification

  • 10 focused nested-concatenation assertions on Ruby 4.0.6 and 3.2.11
  • unchanged source-map suites: 40 runs, 768 assertions on each Ruby
  • full suite: 913 runs, 4,109 assertions, zero failures/errors on each Ruby
  • RuboCop and package-surface checks pass

No test files are changed.

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