haxe
haxe copied to clipboard
Haxe - The Cross-Platform Toolkit
As briefly discussed in Slack, maybe it makes sense to refactor all the target-specific metadata (`@:jsRequire`/`@:cppInclude`/etc.) into namespaced variants (`@:js.require`, `@:cpp.include`). If we go with that, we can slowly deprecate...
Shouldn't the second call also work? ```haxe typedef S = {a:Int, ?b:Int}; class Main { static function f1(a:S):Void {} static function f2(a:T):Void {} static function main() { f1({a: 1}); //...
In static scope, e.g. when initializing static variables, type parameter constraint checks are inconsistent in Haxe version 3.2.0, in current development the issue doesn't occur, but it should be taken...
``` haxe class Main { static function main() { foo({}); } static function foo(data:{?strings:Array}) { var ref:References = data.strings; trace(ref); } } @:forward abstract References(Array) from Array { @:from public...
Still some TODOs. Closes #11431
I installed haxe 4.3.1 for a project that previously used haxe 4.3.0-rc.1+966864c. It works well on every target but java, where it throws the exception below. Haxe 4.3.0 has the...
I noticed today that a hello world program reports these memory leaks on neko:  This is probably not a major issue, but I'm still pretty curious what's going on...
Almost half the time I run a haxe build, the process hangs and I have to force quit the terminal. Even something simple like: -cp src -hl build.hl --main Main...
I would like to discuss the removal of this particular function. My main problem with it is that it penalizes targets that generate anonymous structure in an optimized way: 1....
# :warning: For `4.3_bugfix` Since those are removed by #11540, mark as deprecated in next 4.3 release. Added inline for now to dodge #11539