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
#7091 Possibly related? Which also looks at not being able to represent a default value when creating a struct, but with undefined (with or without using @Type).
Zig Version
0.10.0-dev.108+7c1e17a84
Steps to Reproduce
Expected Behavior
The optional
?i32
should coerce to a??i32
but it should not be anull
??i32
. Therefore, the default value of theone
field ofA
should benull
.Actual Behavior
There is no default value for the
one
field in the reifiedA
.The text was updated successfully, but these errors were encountered: