Haxe 4.0.0 preview 2
Another surprise is that we continued on Haxe 4 and this is the new preview we proudly want to share.
This release removes the old PHP target, which means Haxe is going to output only PHP7 from now on. Furthermore, we are removing some parts of the standard library. For easier transition, they are still available in this haxelib:
https://lib.haxe.org/p/hx3compat/The major new feature of this release is the addition of the
final keyword, which can be used in place of
var for class fields. For static fields, it behaves like
var name(default, never). For instance fields, it allows assignment to the variable only from the class constructor. Further refinements and documentation will follow.
This release also contains the
arrow functions and the
reworked macro interpreter.