I just tried updating Zig and I know that there were breaking changes and my code should trigger compiler errors, but sadly the compiler is just crashing instead of reporting anything. This is not the first time that I have reported issues like this #17859 #17878 and it's always so annoying because it takes a ton of time to pinpoint the actual compiler error that zig should have reported.
I'd appreciate it if you could find some time and start looking into these issues.
Clone the project and get the right commit:
git clone https://github.com/PixelGuys/Cubyz.git
cd Cubyz/
git checkout 2dfbe98844d18e49b326b70b7fe8a1788069a327
Then run zig build.
Using a release build you'll observe that the compiler just fails without any output:
Zig Version
0.12.0-dev.3518+d2be725e4
Steps to Reproduce and Observed Behavior
I just tried updating Zig and I know that there were breaking changes and my code should trigger compiler errors, but sadly the compiler is just crashing instead of reporting anything. This is not the first time that I have reported issues like this #17859 #17878 and it's always so annoying because it takes a ton of time to pinpoint the actual compiler error that zig should have reported. I'd appreciate it if you could find some time and start looking into these issues.
Clone the project and get the right commit:
Then run
zig build
. Using a release build you'll observe that the compiler just fails without any output:Using a debug build you'll see an assertion failure:
Expected Behavior
The compiler shouldn't crash, instead it should display a compiler error.