-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compiler crash multiplying zero vector #13058
Comments
I ran into this when using https://github.com/michal-z/zig-gamedev/blob/main/libs/zmath/src/zmath.zig#L1447 The workaround for |
Hmm, I hit a crash if that is evaluated at comptime, but if Were you calling |
Yes I was calling |
Great, sounds like the same bug - I'll roll this together with some other small fixes tomorrow. |
Can confirm fixed for my use-case. Thank you |
Zig Version
0.10.0-dev.4217+9d8cdb855
Steps to Reproduce
zig build-exe
the followingtest.zig
Expected Behavior
Builds exe
Actual Behavior
Crashes
Reproduced on
x86_64-macos.12.6
if that matters.The text was updated successfully, but these errors were encountered: