Skip to content

Preserve Ruby mixin references - #9

Merged
ioquatix merged 1 commit into
mainfrom
preserve-ruby-mixin-references
Aug 16, 2026
Merged

Preserve Ruby mixin references#9
ioquatix merged 1 commit into
mainfrom
preserve-ruby-mixin-references

Conversation

@samuel-williams-shopify

Copy link
Copy Markdown
Contributor

Summary

Preserve mixin constant references as written instead of eagerly qualifying bare constants against the enclosing namespace. This allows Decode consumers to resolve them lexically and avoids reporting external constants such as Enumerable as project-local constants.

The tests cover bare, qualified, and absolute references across include, extend, and prepend.

Verification

  • bundle exec bake test (214 tests, 589 assertions)
  • bundle exec rubocop (96 files, no offenses)
  • git diff --check

@ioquatix
ioquatix merged commit 7d808d3 into main Aug 16, 2026
40 of 42 checks passed
@ioquatix
ioquatix deleted the preserve-ruby-mixin-references branch August 16, 2026 04:45
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