ziglings/patches/patches/023_errors3.patch
2023-06-22 09:41:41 +00:00

8 lines
178 B
Diff

15c15
< const b: u32 = addTwenty(4) ??? 22;
---
> const b: u32 = addTwenty(4) catch 22;
22c22
< fn addTwenty(n: u32) ??? {
---
> fn addTwenty(n: u32) MyNumberError!u32 {