File 0712-Clarify-try-of-documentation.patch of Package erlang
From f5be42b9011e8cff13a410aea9efa2bf14f38994 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson <sverker@erlang.org>
Date: Fri, 14 Feb 2020 11:49:40 +0100
Subject: [PATCH 1/3] Clarify try-of documentation
---
system/doc/reference_manual/expressions.xml | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml
index baa1269470..ea152801d7 100644
--- a/system/doc/reference_manual/expressions.xml
+++ b/system/doc/reference_manual/expressions.xml
@@ -1414,9 +1414,10 @@ end</code>
the patterns <c>Pattern</c> are sequentially matched against
the result in the same way as for a
<seealso marker="#case">case</seealso> expression, except that if
- the matching fails, a <c>try_clause</c> run-time error occurs.</p>
- <p>An exception occurring during the evaluation of <c>Body</c> is
- not caught.</p>
+ the matching fails, a <c>try_clause</c> run-time error occurs instead of a
+ <c>case_clause</c>.</p>
+ <p>An exception occurring during the evaluation of <c>Body</c> is not
+ caught. Neither is a failed match <c>try_clause</c> exception.</p>
<p>The <c>try</c> expression can also be augmented with an
<c>after</c> section, intended to be used for cleanup with side
effects:</p>
--
2.16.4