haxe
haxe copied to clipboard
Haxe - The Cross-Platform Toolkit
Error loading StdTypes from go2hx.hl.zip => Failure("Compiler failure while reading hxb chunk ABD of StdTypes: index out of bounds\nPlease submit an issue at https://github.com/HaxeFoundation/haxe/issues/new\nAttach the following information:\nHaxe: 5.0.0-alpha.1+5e4e368\n") OS: macos...
This fixes a bug where typed exprs coming from macros won't have their types properly substituted in generic functions. A simple example is ```hx function main() { foo(0); } @:generic...
``` | Haxe: 5.0.0-alpha.1+c850b65; OS type: unix; | File "src/macro/eval/evalExceptions.ml", line 90, characters 20-27 | Called from file "src/macro/eval/evalExceptions.ml", line 93, characters 15-26 | Called from file "src/option.ml" (inlined), line...
Can we have the get/set features of ES5? It will allow javascript libs to be compiled and used outside the Haxe scope. ```haxe //Vector2.hx public class Vector2 { public var...
# Expected behavior Given that JobIdentifier is an abstract, I should be able to create the following map: ```haxe static var callbackHandlers:Map = new Map(); ``` # Actual behavior However,...
Closes #11689
Minimal repro: ``` @:hlNative("test") class NativeTest { public static function refFunc(value: hl.Ref) : Void {} } class Main { static function main() { var test: String = ""; NativeTest.refFunc( test...
For loop is not removed if variable is used. In cases where inline methods are used, an array is created in the same way, although it is possible without it....
```hx function foo(val:hl.Ref) {} function main() {} ``` Compile with `haxe -m Main -hl out/main.c`. Error message: ``` ERROR (unknown position) | Invalid_argument("output_value: functional value") ``` Tested with commit https://github.com/HaxeFoundation/haxe/commit/c850b652a1f69dbbc0fd903da04419eeda81b225...
Main.hx ```hx function main() { foo(); } ``` Foo.hx ```hx function foo() { trace("hello foo"); } ``` build.hxml ``` haxe --main Main --js out.js --macro exclude('Foo') ``` output : ```js...