master
1export fn example() void {
2 comptime foo() catch |err| switch (err) {};
3}
4var x: ?error{} = null;
5fn foo() !void {
6 return x.?;
7}
8// error
9//
10// :6:13: error: unable to unwrap null
11// :2:17: note: called at comptime here