HaxeFoundation / HaxeFoundation/haxe

Add constructor field flag

Open
#9,765 0 comments 0 reactions 1 assignee Claimed by @Simn View on GitHub
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

There are several places in the compiler where we check `cf_name = "new"` (for classes) or `cf_name = "_new"` (for abstracts). This is stupid and everyone should make fun of us for it.

Instead, we need a class field flag which is set during field initialization.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.