File tree 1 file changed +3
-2
lines changed 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -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:
You can’t perform that action at this time.
0 commit comments