File 0111-Correct-typo-in-Dialyzer-documentation.patch of Package erlang
From d53f0e24188c7b7b695e8b43c0a499ff768fb178 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Mon, 26 Sep 2022 05:58:41 +0200
Subject: [PATCH] Correct typo in Dialyzer documentation
---
lib/dialyzer/doc/src/dialyzer_chapter.xml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/dialyzer/doc/src/dialyzer_chapter.xml b/lib/dialyzer/doc/src/dialyzer_chapter.xml
index 9a996b7350..0f68639424 100644
--- a/lib/dialyzer/doc/src/dialyzer_chapter.xml
+++ b/lib/dialyzer/doc/src/dialyzer_chapter.xml
@@ -288,7 +288,7 @@ some_module.erl:7:2: Invalid type specification for function some_module:foo/1.
<code>
-spec bar(a | b) -> atom().
-%% Dialyzer will infer: bar(b | c) -> binary().
+%% Dialyzer will infer: bar(a | b) -> binary().
bar(a) -> <<"a">>;
bar(b) -> <<"b">>.</code>
--
2.35.3