Skip to content

refactor(hir): unify lowering context and stores#314

Merged
hongjr03 merged 5 commits into
masterfrom
refactor/lowering-context-store
Jul 24, 2026
Merged

refactor(hir): unify lowering context and stores#314
hongjr03 merged 5 commits into
masterfrom
refactor/lowering-context-store

Conversation

@hongjr03

Copy link
Copy Markdown
Member

Summary

  • replace lowering mixin traits and macros with one explicit LoweringCtx<Store> owning data/source stores, scope state, and diagnostics
  • make the core HIR and source-map stores explicit Rust structs and replace generated type-erased Get forwarding with named accessors
  • remove future arena-ID prediction in favor of parent-first allocation/fill and pair HIR/source entries in the same allocation operation
  • remove the now-unused proc-macro-utils crate

Verification

  • cargo check --workspace
  • cargo test -p hir (95 passed)
  • cargo test -p ide --lib (140 passed)
  • cargo test --workspace (532 passed, 3 ignored)

@hongjr03
hongjr03 merged commit a7ad19b into master Jul 24, 2026
17 of 18 checks passed
@hongjr03
hongjr03 deleted the refactor/lowering-context-store branch July 24, 2026 17:42
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.

1 participant