aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/patches/patches/023_errors3.patch
blob: 9068e4ad307b9c198d6be95c62b51aac51091f82 (plain)
1
2
3
4
5
6
7
8
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 {