Simon Krajewski

Results 102 issues of Simon Krajewski

It was found that when doing `lhs == rhs`, the compiler first tries to assign lhs to rhs and thus also prefers implicit casts in that direction, which seems unintuitive....

I've noticed that by deleting [this file](https://github.com/HaxeFoundation/haxe/blob/development/std/eval/_std/sys/thread/EventLoop.hx), the coroutine tests for eval go from failing spectacularly to passing. This made me remember that I came across this before and asked...

https://github.com/HaxeFoundation/haxe/commit/a1535c56da11b06ce6646bc6cfa99eacb5213681 caused a problem in a situation where we have a `Unit.hx` type that we want to resolve from the same package or a child package. I didn't consider that...

Every time I come across this function I wonder why it exists. We use it to handle things like `"\n"` becoming an actual newline character, as opposed to backslash plus...

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 ```...

feature-hxb

Opening a PR so I don't forget about the branch. Originally, I wanted to only look into #11871, but then one thing led to another and I wanted to try...

Our [benchmarks](https://benchs.haxe.org/allBenchmarks.html#1;false;true;true;DataAndAverage;SMA;2025-03-12;;HashLink;runtime) show a performance regression starting on March 23rd, which coincides with the 1.15 release. This applies to both Haxe nightlies and Haxe 4, and affects both HL/JIT and...

``` Download immutable action package 'actions/checkout@v2' Version: 2.7.0 Digest: sha256:95d28907bc868c0bab52f05f1f84cf8416c9415fba4c92519bc0b83bdce1eae3 Source commit SHA: ee0669bd1cc54295c223e0bb666b733df41de1c5 Download action repository 'krdlab/setup-haxe@master' (SHA:f0a0baa8ccdb1fe4fc316c8f30eb3ca77aa4ea4e) Error: Missing download info for actions/[email protected] ``` I don't know what...

```haxe function main() { var i:Int = cast null; trace(i == 0); } ``` This is optimized to `trace(false)` through constant propagation and binop optimization. If it is allowed to...