Skip to content
This repository has been archived by the owner on Jul 12, 2024. It is now read-only.

Local cleanups in ClassEmitter. #132

Merged
merged 14 commits into from
May 17, 2024
Merged

Conversation

sjrd
Copy link
Collaborator

@sjrd sjrd commented May 16, 2024

No description provided.

@sjrd sjrd requested a review from tanishiking May 16, 2024 19:29
Copy link
Owner

@tanishiking tanishiking left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

sjrd added 14 commits May 17, 2024 09:40
Everything else that generates code is called `genX` at this point.
It has been a no-op for a while.
That centralizes building of all the `StructField`s of a class'
struct type.
Since one was the only caller of the other.
This corresponds to how it is called in the JS backend.
By spec, the constructor to call for a module class is always
`<init>()`, i.e., `NoArgConstructorName`.
It was its only call site, and separating it does not help.
@sjrd sjrd merged commit 93c16a6 into tanishiking:main May 17, 2024
1 check passed
@sjrd sjrd deleted the cleanup-classemitter branch May 17, 2024 08:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants