haxe
haxe copied to clipboard
Haxe - The Cross-Platform Toolkit
The type of `x ?? throw "error"` does not equal the non-null type of x. Example code: ```hx $type("abc" ?? throw "error"); ``` Expected output: `String` Actual output: `Null` Looking...
```haxe function main() { var w = new World(); var wrapper = new Wrapper(w); wrapper.use(); } class World { public function new() {} } abstract Wrapper({w:{}}) { public inline function...
Packaging haxe 4.2.5 for Arch Linux: Invalid import of Dune__exe___ppx, compiled with -unsafe-string
Hi, I'm maintaining the Haxe package for Arch Linux, but I'm having some trouble upgrading it to 4.2.5. Here is the PKGBUILD file I'm working on: ```sh pkgname=haxe pkgver=4.2.5 pkgrel=1...
So far I failed to reproduce this outside VSCode, but it is 100% reproducible inside it. Might have something to do with `--cwd` calls because of the weird `changed directories:...
**Environment** macOS 12.4 haxe 4.3.0-rc.a49b191 The following code throws the exception `TypeError: __init__() got an unexpected keyword argument '_hx_disable_getattr'`. ``` var json = python.Lib.anonAsDict({}); python.lib.Json.dumps(json, {separators: python.Tuple.Tuple2.make(",", ":")}); ```
Using Haxe version 4.0.5. Here is the content of the file `Main.hx`. ```hx package; @:structInit class Student { public final name:String; public final score:Int; } class Main { public static...
This allows annotations within annotations for JVM only; The syntax is the same as the toplevel, i.e. a path then a call with a list of equal pairs. sorry if...
I was running haxe/hl on aws lambda and although it is usually really fast (just a few miliseconds) about 20% of the requests would run for several seconds and timeout...
The following tests might give different results depending on platforms: ```haxe function shl( x, y ) return x
This pull request add BigInteger type in Haxe . The implementation is created by Chuck Batson and I have his permission to relicense his code under the Haxe license (...