This commit is contained in:
David Mo
2025-02-25 11:53:01 -05:00
parent af2d710000
commit df9de1523c

View File

@ -781,7 +781,7 @@ test "parseIntoField: struct with init func" {
pub fn init(self: *Self, _alloc: Allocator) !void {
_ = _alloc;
self.v = "HELLO!";
self.* = .{ .v = "HELLO!" };
}
},
} = undefined;