From c1880e2d4385d9718df29c7368c8b9465dbe82d5 Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Sat, 28 May 2022 15:50:38 -0700 Subject: [PATCH] document the other compiler bug test --- src/xml_shaper.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xml_shaper.zig b/src/xml_shaper.zig index 37ebb38..0765eec 100644 --- a/src/xml_shaper.zig +++ b/src/xml_shaper.zig @@ -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 =