Skip to content

Remove unused ast_utils.py leftover from refactoring#295

Closed
Copilot wants to merge 2 commits intoremove_redundancyfrom
copilot/sub-pr-290
Closed

Remove unused ast_utils.py leftover from refactoring#295
Copilot wants to merge 2 commits intoremove_redundancyfrom
copilot/sub-pr-290

Conversation

Copy link
Copy Markdown

Copilot AI commented Jan 10, 2026

Removed crosstl/translator/codegen/ast_utils.py (428 lines) - an unused file leftover from a previous refactoring attempt where base infrastructure was introduced then later removed.

Changes

  • Deleted crosstl/translator/codegen/ast_utils.py
    • Not imported anywhere in codebase
    • Functionality already provided by crosstl/utils/ast_utils.py
    • Artifact from commits 9a6bdbef948568 where base infrastructure was created then abandoned

Current State

The codebase now uses centralized utilities added in this PR:

  • crosstl/utils/type_mappings.py - shared type mappings across all backends
  • crosstl/utils/ast_utils.py - common AST compatibility helpers

All 508 tests pass.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: NripeshN <86844847+NripeshN@users.noreply.github.com>
Copilot AI changed the title [WIP] Remove redundancy in codebase and files Remove unused ast_utils.py leftover from refactoring Jan 10, 2026
Copilot AI requested a review from NripeshN January 10, 2026 10:23
@NripeshN NripeshN closed this Jan 31, 2026
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