From 78430c9cec900049ea1b45106d2d4ec65670e1b3 Mon Sep 17 00:00:00 2001 From: Frank Plowman Date: Sat, 28 Sep 2024 12:40:08 +0100 Subject: [PATCH] langref/errorset: Replace subset description with union 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. --- doc/langref.html.in | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index d32f8aeedea8..d0b32bcfd610 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -2937,8 +2937,7 @@ or

{#header_open|The Global Error Set#}

{#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.

You can {#link|coerce|Type Coercion#} any error set to the global one, and you can explicitly