| ... | ... | @@ -287,7 +287,7 @@ pub const Operation = union(enum) { |
| 287 | 287 | LockViolation, |
| 288 | 288 | } || Io.UnexpectedError; |
| 289 | 289 | |
| 290 | | pub const Result = usize; |
| 290 | pub const Result = Error!usize; |
| 291 | 291 | }; |
| 292 | 292 | |
| 293 | 293 | pub const Result = Result: { |
| ... | ... | @@ -296,7 +296,7 @@ pub const Operation = union(enum) { |
| 296 | 296 | var field_types: [operation_fields.len]type = undefined; |
| 297 | 297 | for (operation_fields, &field_names, &field_types) |field, *field_name, *field_type| { |
| 298 | 298 | field_name.* = field.name; |
| 299 | | field_type.* = field.type.Error!field.type.Result; |
| 299 | field_type.* = field.type.Result; |
| 300 | 300 | } |
| 301 | 301 | break :Result @Union(.auto, Tag, &field_names, &field_types, &@splat(.{})); |
| 302 | 302 | }; |