@addWithOverflow
with vectors doesn't work when they are from functions arguments
#13201
Labels
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Zig Version
0.10.0-dev.4418+99c3578f6
Steps to Reproduce
To illustrate something like this:
works fine,
while the following:
behaves very oddly
Expected Behavior
For it to compile normally
Actual Behavior
There is this following message:
error: expected type 'bool', found 'u1'
The following code (the equality test specifically):
crashes the compiler with illegal hardware instruction.
The text was updated successfully, but these errors were encountered: