Skip to content

Commit

Permalink
langref/errorset: Replace subset description with union
Browse files Browse the repository at this point in the history
The previous language using subsets was really just stating a couple
of the properties of the union of a group of sets, and with a minor
error at that.
  • Loading branch information
frankplow authored and alexrp committed Feb 7, 2025
1 parent 43e52ec commit bf7bc4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions doc/langref.html.in
Original file line number Diff line number Diff line change
Expand Up @@ -2937,8 +2937,7 @@ or
</p>
{#header_open|The Global Error Set#}
<p>{#syntax#}anyerror{#endsyntax#} refers to the global error set.
This is the error set that contains all errors in the entire compilation unit.
It is a superset of all other error sets and a subset of none of them.
This is the error set that contains all errors in the entire compilation unit, i.e. it is the union of all other error sets.
</p>
<p>
You can {#link|coerce|Type Coercion#} any error set to the global one, and you can explicitly
Expand Down

0 comments on commit bf7bc4f

Please sign in to comment.