Skip to content

replace 8 inline type assertions with named ast types#225

Merged
cs01 merged 1 commit intomainfrom
fix/more-named-types
Mar 11, 2026
Merged

replace 8 inline type assertions with named ast types#225
cs01 merged 1 commit intomainfrom
fix/more-named-types

Conversation

@cs01
Copy link
Copy Markdown
Owner

@cs01 cs01 commented Mar 11, 2026

Summary

  • Replace as { name: string; fieldType: string; tsType: string } with as ClassField in class.ts
  • Replace as { name: string } on class fields with as ClassField in assignment-generator.ts, member.ts
  • Replace as { name: string } on class arrays with as ClassNode in function-generator.ts, class.ts
  • Replace as { name: string } on lifted functions with as LiftedFunction in arrow-functions.ts

Test plan

  • npm run build passes
  • npm run verify:quick passes (tests + stage 1 self-hosting)

@cs01 cs01 merged commit 8dcae62 into main Mar 11, 2026
12 checks passed
@cs01 cs01 deleted the fix/more-named-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