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
1/1 test "make compile fail"...error: Example
/home/andy/dev/zig/build/test.zig:22:9: 0x20578d in c (test)
return err;
^
/home/andy/dev/zig/build/test.zig:27:5: 0x2055bc in test "make compile fail" (test)
try c();
^
/home/andy/dev/zig/build/lib/zig/std/special/test_runner.zig:21:21: 0x227bb9 in std.special.main (test)
else => return err,
^
The 0.4.0 compiler fails an assertion for the following code:
Compiler output:
Defining
Error
to beanyerror
makes it compile and run as expected.The text was updated successfully, but these errors were encountered: