Skip to content

consolidate duplicated types across codegen files#218

Merged
cs01 merged 1 commit intomainfrom
fix/consolidate-duplicated-types
Mar 11, 2026
Merged

consolidate duplicated types across codegen files#218
cs01 merged 1 commit intomainfrom
fix/consolidate-duplicated-types

Conversation

@cs01
Copy link
Copy Markdown
Owner

@cs01 cs01 commented Mar 11, 2026

Summary

  • Consolidated InterfaceDefInfo from 4 duplicate definitions into 1 shared export in class-dispatch.ts
  • Removed duplicate LiftedFunction interface from function-generator.ts (now imports from arrow-functions.ts)
  • Replaced local NewMeta, ObjectNode, ClassNode type mirrors with proper AST types from ast/types.ts
  • Replaced ExprBase interfaces with inline as { type: string } casts across 3 files
  • Net reduction of ~33 lines

Test plan

  • TypeScript type check passes
  • npm run verify:quick passes (tests + Stage 1 self-hosting)

🤖 Generated with Claude Code

…eplace local ast mirrors with proper imports
@cs01 cs01 merged commit 71fb307 into main Mar 11, 2026
12 checks passed
@cs01 cs01 deleted the fix/consolidate-duplicated-types branch March 12, 2026 05:35
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