document the other compiler bug test

This commit is contained in:
Emil Lerch 2022-05-28 15:50:38 -07:00
parent 51232cb45e
commit c1880e2d43
Signed by: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -479,7 +479,8 @@ test "can coerce 8601 date to integer" {
defer parsed_data.deinit();
try testing.expectEqual(@as(i64, 1633451985), parsed_data.parsed_value.foo_bar.?);
}
// This is the simplest test so far that breaks zig
// This is the simplest test so far that breaks zig (circa 0.9.0)
// See "Using this else clause breaks zig, so we'll use a boolean instead"
test "can parse a boolean type (two fields)" {
const allocator = std.testing.allocator;
const data =