haxe
haxe copied to clipboard
Haxe - The Cross-Platform Toolkit
This PR adds a lightweight version of `Common.context` which holds all the data generators need. For now it's only implemented for genjvm, but should be relatively easy to add to...
I saw in the hxb writer that we were dealing with hundreds of TAnons that should really be `haxe.PosInfos`. Anons are difficult to handle for a binary interface because we...
Appears while building cache using latest Haxe version from development and hxb_server_cache_simn_cleanup branches ``` Haxe: 5.0.0-alpha.1+3f6bed7; OS type: windows; File "src/macro/macroApi.ml", line 2283, characters 19-26 Called from file "src/macro/macroApi.ml", line...
At the moment the compiler looks for types in a specific order: 1. Check --hxb-lib 2. Check -cp (and by extension -lib) 3. Check --java-lib and such I would like...
```cmd source/Main.hx:36: characters 3-46 : error: TypedGroup.T should be SomeType source/Main.hx:36: characters 3-46 : ... have: (Array ...>, ...) -> ... source/Main.hx:36: characters 3-46 : ... want: (Array ...>, ...)...
```haxe function main() { // Foo.foo = 1; new Foo(); // no code action } class Foo { } ```
[Corresponding hxcpp pr](https://github.com/HaxeFoundation/hxcpp/pull/1047) Something I started last year but just now decided to come back to. This attempts to have all functions be implemented as a strongly typed callable object...
## Minimal reproduction https://github.com/EliteMasterEric/Issue11054/tree/488fbb13733643d5406fbcae42802b07d72652e0 ## Error Message No compile error is received, instead Java experiences an error at runtime: ``` Exception in thread "main" java.lang.ClassCastException: class haxe.root.Main$Closure_main_1 cannot be cast...
The following code return 547226893 ( 0x209E050D ) instead the correct one 4842194189 ( 0x1209E050D ) The problem is only for JS target ( https://try.haxe.org/#212E9Fb4 ) ```haxe var i:Int64 =...
Commit https://github.com/HaxeFoundation/haxe/commit/52bb47510efdd5ecb945bc016b015bb1b21dd456 breaks missing field generation in vshaxe: ```haxe class Main { static function main() { foo = 0; } } ``` Generation before: `static var foo:Int;` Now: `static var...