Skip to content

Conversation

@zharinov
Copy link
Member

@zharinov zharinov commented Jan 6, 2026

Summary

  • Move InferencePass from type_check/mod.rs to infer.rs, making mod.rs a thin facade
  • Rename collect_ref_names to ref_names for consistency with ref_nodes
  • Split dependencies.rs into analysis (dependencies.rs) and validation (recursion.rs)

Why

The analyze module had several files violating the "mod.rs as facade" principle, with inline implementation code that should live in dedicated component files. This refactoring improves encapsulation and makes the module structure cleaner.

@zharinov zharinov enabled auto-merge (squash) January 6, 2026 15:38
@zharinov zharinov merged commit 0165fa4 into master Jan 6, 2026
4 checks passed
@zharinov zharinov deleted the refactor/decompose-analyze-module branch January 6, 2026 15:38
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