File 5482-dialyzer-documents-Wunknown-flag.patch of Package erlang
From 4444025002593d0c78aee342df29830d0af00b34 Mon Sep 17 00:00:00 2001
From: Kiko Fernandez-Reyes <kiko@erlang.org>
Date: Mon, 5 Feb 2024 20:05:56 +0100
Subject: [PATCH] dialyzer: documents -Wunknown flag
---
lib/dialyzer/src/dialyzer_cl_parse.erl | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/dialyzer/src/dialyzer_cl_parse.erl b/lib/dialyzer/src/dialyzer_cl_parse.erl
index e603048304..196b9a7bdc 100644
--- a/lib/dialyzer/src/dialyzer_cl_parse.erl
+++ b/lib/dialyzer/src/dialyzer_cl_parse.erl
@@ -330,6 +330,10 @@ warning_options_msg() ->
warn about unknown functions and types when setting the exit
status. When using Dialyzer from Erlang, warnings about unknown functions
and types are returned.
+ -Wunknown
+ Warns about unknown functions and types when setting the exit
+ status (enabled by default). When using Dialyzer from Erlang, warnings about unknown functions
+ and types are returned.
-Wunmatched_returns ***
Include warnings for function calls which ignore a structured return
value or do not match against one of many possible return value(s).
--
2.35.3