haxe icon indicating copy to clipboard operation
haxe copied to clipboard

Haxe - The Cross-Platform Toolkit

Results 401 haxe issues
Sort by recently updated
recently updated
newest added

Modified from https://github.com/HaxeFoundation/haxe/issues/11236#issuecomment-1926429085: ```haxe import java.util.concurrent.Executors; import java.util.concurrent.TimeUnit; import java.lang.Runnable; final exec = Executors.newSingleThreadScheduledExecutor(); function schedule(f:() -> Void) exec.schedule(f, 0, TimeUnit.MILLISECONDS); function greeter():Void { trace("hello"); exec.shutdown(); } function main() {...

test-needed

## 4.3.4 * [ ] https://github.com/HaxeFoundation/haxe/commit/dd28b83951356dff776c451e8201fb64577679ac * [ ] 3a9445219a023253ff4c78cdbb84262e8f6a5276 * [ ] 7653f686cdff23fa650c80eb4e87030a1b154687 / #11402 * [ ] 13666860eceb09a98269d07d97ebbcc6abb6405f * [ ] https://github.com/HaxeFoundation/haxe/commit/ed838d789588487e817a326b60d31c4397ce9012 * [ ] https://github.com/HaxeFoundation/haxe/commit/822dd87c1e7e56caac29aa3d42eb7879edeebade * [...

Started doing stuff with my macro-heavy lib, it compiles OK, but via server it does this: ``` ERROR (unknown position) | Error: Compiler failure: Unexpected BadModule hxser.imperative.DataStructures | Please submit...

For #11403. ```haxe class Test { static function main() { var x = getValues(); switch x { case [1]: default: } } public static macro function getValues() { return macro...

Example: https://try.haxe.org/#F28DdCCc This is an example simplified down from a case in which I wanted to use `haxe-concurrent` to perform a task, and then query the time at which it...

As discussed on Slack, it would be nice to be able to annotate methods with pre- and post-conditions. ```haxe @:pre(x >= 3 && x < array.length + 3) @:post(return !=...

discussion

Following this openfl/lime/issues/1757 issue, I though I found a workaround, but it didn't work for cpp. So, Lime structures get incorrect path to assets and the app crashes. Using `Sys.getCwd()`...

(needed an issue number for tests) Allow this: ```haxe function main() { var a:A; $type(a); // A } typedef A = haxe.ds.BalancedTree; ```

Haxe v4.2.5 Main.hx: ```haxe function main() trace(Sys.programPath()); ``` ``` haxe --run Main ``` Results in: ``` [0] Instance prototype not found: haxe.macro.Error ``` I'm getting the same result on both...

platform-eval

```haxe class Main { public static function main() { var foo: (?a: Int, ?b: Int) -> Void = null; foo(null, null); // throws on static targets var bar = foo.bind(_,...