raz / conform / err / TrySeveralValues.raz

12 lines · 179 B · raw · history · last change 7916b9fd

1module TrySeveralValues;
2proc f: (INT, INT, ERROR);
3begin
4 return 1, 2, nil;
5end;
6proc g: ERROR;
7var n: INT;
8begin
9 n := try f();
10 return nil;
11end;
12end TrySeveralValues.