haxe
haxe copied to clipboard
Haxe - The Cross-Platform Toolkit
`mutable anons_cache : (tanon, ttype) PMap.t;` This puts a lot of faith in OCaml's `compare`. It can easily go `tanon` -> `tclass_field` -> `Type.t` -> `TInst` -> `tclass` and then...
I sometimes have some sort of helper typedefs that I don't actually want users to see in error messages and such. With this metadata, typedefs are followed away in the...
Haxe: latest git Hashlink: latest git Heaps.io: latest git I'm compiling a sample Heaps.io project with DX12 backend to HL/C target. Compiler throws "Error: Don't know how to compare array...
```haxe var b = 10; function main() { var x = 0; try { x = b; throw "hi"; }catch(_) { trace(x); } } ``` Returns 0, expected 10 https://try.haxe.org/#806c75c6...
I have created a large project using [Echoes](https://github.com/player-03/echoes), and often after a failed build, I get an error about a missing function body, pointing to [this line](https://github.com/player-03/echoes/blob/465e36f2b6ffb907bc58a89298d2653c3d197872/src/echoes/macro/ComponentStorageBuilder.hx#L44): ```haxe var def:TypeDefinition...
```haxe class Main { static function main() { final name = call() ?? "default"; trace(name); } static function call():String return ""; } ``` Generation with analyzer: ```js let tmp =...
tl;dr If you use a haxe hxml file that contains a --each/--next, and inside those build steps you include -C to change the working folder for that step, it will...
Right now the haxelib binary in the "universal" mac builds is only x64. To fix this we need to build haxelib with an arm64 build of neko. First we need...
Still not sure exactly how things go wrong here. Broke with https://github.com/HaxeFoundation/haxe/commit/6e4fd96cb56b990cdf2b493733c326220489d500
Hej, I stuck with that for hours now and can't see where does it come from. Let's say I have a `@:build( Macro.build() )` on a class. Inside `Macro.build` I...