Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn cl_init into a class field #11500

Merged
merged 3 commits into from
Jan 20, 2024
Merged

Turn cl_init into a class field #11500

merged 3 commits into from
Jan 20, 2024

Conversation

Simn
Copy link
Member

@Simn Simn commented Jan 20, 2024

We have various parts of the compiler which are field-based and then struggle a bit when dealing with the expression-based cl_init. This PR changes the representation to use a tclass_field for these as well, but hides the class-field-ness behind a small API.

@Simn Simn merged commit 61f8436 into development Jan 20, 2024
122 checks passed
@Simn Simn deleted the cl_init_field branch January 20, 2024 12:26
0b1kn00b pushed a commit to 0b1kn00b/haxe that referenced this pull request Jan 25, 2024
* turn cl_init into a class field

* add CfrInit

* remove field_kind
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