change unreachable{} to @unreachable()
instead of a container init expression, it's a builtin function call.
This commit is contained in:
@@ -266,5 +266,5 @@ fn test_one_udivmoddi4(a: du_int, b: du_int, expected_q: du_int, expected_r: du_
|
||||
}
|
||||
|
||||
fn assert(b: bool) {
|
||||
if (!b) unreachable{};
|
||||
if (!b) @unreachable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user