Skip to content

refactor(hir): unify lowered source access#316

Merged
hongjr03 merged 7 commits into
masterfrom
hir-lowered-source
Jul 25, 2026
Merged

refactor(hir): unify lowered source access#316
hongjr03 merged 7 commits into
masterfrom
hir-lowered-source

Conversation

@hongjr03

Copy link
Copy Markdown
Member

Summary

  • pair HIR data and source maps in Lowered<T> for file, module, block, subroutine, and generate queries
  • expose unified .source(db) lookup across public definition handles and reduce IsSrc to source attributes
  • migrate IDE consumers off concrete source maps, IsSrc, and Get/GetRef

Verification

  • cargo check --workspace --all-targets
  • cargo test -p hir-def scope::tests::name_scope_context_lookup_covers_current_scope_shapes
  • cargo test -p ide semantic_token_fixtures
  • cargo test -p ide
  • cargo test --workspace (542 passed, 3 ignored)

@hongjr03
hongjr03 merged commit bb2c320 into master Jul 25, 2026
3 of 4 checks passed
@hongjr03
hongjr03 deleted the hir-lowered-source branch July 25, 2026 14:30
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