haxe
haxe copied to clipboard
Haxe - The Cross-Platform Toolkit
I noticed some eval benchmarks that suffered performance regressions on ~~May 23rd~~ March 23rd: This is quite surprising because compilation time in general (greatly) improved on that day, which we...
``` PS C:\git\haxe\tests\unit> haxe .\compile-hxb-jvm-roundtrip.hxml Fatal error: exception HxbData.HxbFailure("Could not read static field printNow on unit.TestMainNow while hxbing unit.TestMain") Raised at HxbReader.hxb_reader#read_cfr.(fun) in file "src/compiler/hxb/hxbReader.ml", line 1703, characters 7-162 ```...
Removes passed function allocations by default, which seems better to me, than 5-6 more generated lines instead of Lambda call? If this is too much, for some reason, i can...
Hej, I want to use a custom exception with a `code` param, but it seems it's yet used in PHP target `haxe._Exception.NativeException` even if `haxe.Exception` haven't it in its extern...
Hej, Idk if it's really an issue or a php config to set, feel free to reject this. This piece of code : ```haxe var o = { "Succès" :...
Hej, This simple example works everywhere but fails on PHP : `spl_object_hash(): Argument #1 ($object) must be of type object, string given` ```haxe class Main { public static function main()...
I think there is a conflict with php's native **ErrorException** class becasue this compiles fine but fails on runtime : ```haxe class ErrorException extends haxe.Exception{ public function new(msg:String){ super(msg); }...
[Minmal example](https://try.haxe.org/#0257D916) ```haxe import haxe.ds.Option; class Test { static function main() { var a = [ Live, Offline({ vct: None, ot: Some('foo') }), Offline({ vct: Some('bar'), ot: None }), ];...
Because TypeDefinition lacks a few features (mostly import and using), it would be nicer to be able to call defineModule and have the compiler check again whether the type is...
This compiles fine and leads to a null access error: ```haxe function getLength(v:T) { return v.length; } function main() { final nullable:Null = null; trace(getLength(nullable)); } ```