haxe
haxe copied to clipboard
Haxe - The Cross-Platform Toolkit
Once we've merged https://github.com/HaxeFoundation/haxe/pull/8730 we'll be able to poll the connected socket to see if there's a pending request. This should allow us to implement a pattern like so: ```ocaml...
Using haxe 4 rc3 and hashlink 1.9 Giving a basic class structure like ```haxe class Node { public function new() { } public function addNode(node:T):T { return node; } }...
Found this while trying to force some errors for #8687: ```haxe #if ~ #end #if true // Stream.Failure #end ```
The character columns are only displayed sometimes in the error messages. I get messages like: `src/Video.hx:98: characters 7-43 : Void -> Void should be Null` with columns and messages like:...
Hello! :) Would be nice if `-java-lib` may parse Java's `@Nullable` annotation on function arguments. For example, Java's method: ```java public void setMapStyle(@Nullable MapStyleOptions options) ``` Is parsed as: ```haxe...
Like the titel says: It is currently impossible to resolve a sub class in a module with std. `std.Module.AnyClass` => `Class has no field AnyClass` I think if its not...
```haxe class Test { static function main() { var foo = new Foo(); untyped foo.bar = function() trace('bar'); foo.bar(); } } class Foo { public function new() { } public...
I was messing around doing ugly things to try to isolate #6993 and ended up with a pretty messed up error output in haxe 4: ``` src/MacroUtils.hx:11: lines 11-13 :...
This is what I got when isolating the weird OS-dependent `language-server-protocol-haxe` CI failure I was debugging with @nadako yesterday. `source/A.hx`: ```haxe import B; typedef A = {} ``` `source/B.hx`: ```haxe...
```haxe class Test { static function test(f:haxe.extern.EitherType->Void) { f(123); f("abc"); } static function main() { test(function(v:Int) { trace(Std.is(v, Int)); //should be always true, but actually print true then false });...