haxe
haxe copied to clipboard
Haxe - The Cross-Platform Toolkit
migrate pcre
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1000117
Not sure if bug, or what to think of it. This worked in 4.2.1, now it errors. I would expect either both variants to work, or both to error. ```haxe...
The following fails to compile with `haxe.Int64 should be Int` which is a bit weird: ```haxe static function foo(v:Int,b:Bool) : haxe.Int64 { return v
```haxe function main() { trace(m(10,10)); trace(m(10.2,10.2)); } function m(a:T,b:T) { return (a : Dynamic) * (b : Dynamic); } ``` version: a8f2911 hl: ``100 100`` neko/eval/js: ``100 104.03~`` [try haxe](https://try.haxe.org/#ab6BF276)
Even JavaScript has atomics now, no reason why Haxe shouldn't. Supported targets: - Hxcpp (https://github.com/HaxeFoundation/hxcpp/pull/985) - Hashlink (https://github.com/HaxeFoundation/hashlink/pull/523) - Java/JVM - JavaScript The hashlink unit tests fail in `TestException` when...
The following code snippet produces a null-safety error (`Main.hx:14: characters 7-8 : Null safety: Cannot pass nullable value to not-nullable argument "v" of function "fun".`) ```haxe import haxe.Timer; import Math;...
**Environment** macos monterey 12.1 haxe 4.2.4 When null-safety is enabled, it is not possible to get rid of this error even if the offending constructor is annotated with the metadata...
To avoid fragmentation I'm consolidating multiple issues here that likely have the same cause and solution: #2103 #2579 #3429 #4187 #4340 #4424 #4783 Edit NC, added #5799
Haxe v4.2.5 - nightly 651ecf3 Sometimes I'd like to have inline functions just for type cast (like `castMyType()` in the code below), rather than typing explicitly (like `var value:MyType =...
Closes https://github.com/HaxeFoundation/haxe/issues/8040 This is only 2-4 times faster on js (node/chrome), btw.