You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constV= @Vector(1,f128);pubinlinefnfoo(b: V)f128{// removing inline changes crash messagereturn @reduce(.Mul,b);//reduction operation does not matter}test"float simd"{vara: V=undefined;//making this const makes it not crasha[0]=0;constb: V=aa;_=foo(b);//commenting this out makes in not crash//_ = @reduce(.Max, b);//calling reduce directly instead makes it not fail}
output:
error: Assigned value does not match type of forward declaration
Expected Behavior
no crash
The text was updated successfully, but these errors were encountered:
Traxar
added
the
bug
Observed behavior contradicts documented or intended behavior
label
Jul 9, 2024
Zig Version
0.13.0
Steps to Reproduce and Observed Behavior
output:
Expected Behavior
no crash
The text was updated successfully, but these errors were encountered: