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

Try haxe: https://try.haxe.org/#15BeB54A ```haxe var pos = Context.currentPos(); var tfields = (macro class { public var bit:Int; }).fields; var t:TypeDefinition = { pos: pos, pack: [], meta: [{name: ":structInit", pos:...

Without this change, the error thrown by the request must be handled with a generic ``` js.Node.process.on('uncaughtException', (e) -> trace(e)); ``` I think is more convenient to handle the error...

This PR must be applied first to solve the problem in hxcpp. https://github.com/HaxeFoundation/hxcpp/pull/1157

``` File "src/context/typecore.ml", line 297, characters 24-59: 297 | if not (List.exists (ExtLib.String.starts_with p.pfile) ctx.com.std_path) then begin ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Error: This expression has type prefix:string -> bool but an expression was...

This is a regression introduced in 4.3.0 with https://github.com/HaxeFoundation/haxe/commit/02a7f9834b1327507eb9b6f646697960a0ec657f This can also lead to `Fatal error: exception Invalid_argument("List.map2")` in genhl with a slightly different example. Also allows this kind of...

This avoids the dependency on neko, which means that haxe no longer has to be packaged with neko as a mandatory dependency. Haxelib has to be run through eval first...

My current objective is to create a system which enables my implementation of HScript to access constants and functions from abstracts. My current implementation works as follows: - Using `haxe.macro.Context.onGenerate`,...

With haxe version 3.2.1, I tried writing the following macro: ``` import haxe.macro.Expr; class Test { static macro function fn(args: Array) { return macro function ($a{args}) {}; } } ```...

We discuss this at every meetup but never opened an issue about it, so let's do that. The idea is to have something official that works similar to haxeshim. From...

```haxe interface IObj { var width(default, null):Float; var height(get, set):Float; } class Main implements IObj { public var width(default, null) = 0; // Int in this implementation @:isVar public var...