@ptrFromInt(0)
on ?*allowzero T
gives null
#21775
Labels
Milestone
@ptrFromInt(0)
on ?*allowzero T
gives null
#21775
Zig Version
0.14.0-dev.1951+857383689
Steps to Reproduce and Observed Behavior
this feels very unexpected to me
Expected Behavior
pointer should be the same as
@as(*allowzero const u8, @ptrFromInt(0))
The text was updated successfully, but these errors were encountered: