| ... | ... | @@ -5373,8 +5373,9 @@ test "fn reflection" { |
| 5373 | 5373 | gets assigned the same integer value. |
| 5374 | 5374 | </p> |
| 5375 | 5375 | <p> |
| 5376 | | The number of unique error values across the entire compilation should determine the size of the error set type. |
| 5377 | | However right now it is hard coded to be a {#syntax#}u16{#endsyntax#}. See <a href="https://github.com/ziglang/zig/issues/786">#786</a>. |
| 5376 | The error set type defaults to a {#syntax#}u16{#endsyntax#}, though if the maximum number of distinct |
| 5377 | error values is provided via the <kbd>--error-limit [num]</kbd> command line parameter an integer type |
| 5378 | with the minimum number of bits required to represent all of the error values will be used. |
| 5378 | 5379 | </p> |
| 5379 | 5380 | <p> |
| 5380 | 5381 | You can {#link|coerce|Type Coercion#} an error from a subset to a superset: |