#zig build-obj { --name test -fno-emit-bin -Mroot=test.zig #} #write test.zig { export fn example() void { comptime foo() catch |err| switch (err) {}; } var x: ?error{} = null; fn foo() !void { return x.?; } #} #update #check errors { test.zig:6:13: error: unable to unwrap null test.zig:2:17: note: called at comptime here #}