HaxeFoundation / HaxeFoundation/haxe

[js][es6] make this-before-super filter smarter

Open
#7,880 0 comments 1 reaction 1 assignee Claimed by @nadako View on GitHub
enhancement platform-javascript
Dominant language
Haxe
Stars
6.9k
Forks
715
Avg merge
2d 2h
Merged PRs (30d)
11

Description

my own thoughts from slack:

> hmm, I wonder if I should do interprocedural check for this-before-super, sounds easy enough and if nothing accesses this, it should be safe to move field inits after the super call and not generate the hx_init magic, right?

> could even be smarter and check particular field access, not any 'this' access, but that sounds more complicated

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.