Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:24
erlang
3531-dialyzer-Quote-the-atom-maybe.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 3531-dialyzer-Quote-the-atom-maybe.patch of Package erlang
From 12d9ce6a37cc52326a4175df5a28516bd2725fce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org> Date: Wed, 24 Nov 2021 12:27:26 +0100 Subject: [PATCH 1/2] dialyzer: Quote the atom 'maybe' --- lib/dialyzer/src/dialyzer_options.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/dialyzer/src/dialyzer_options.erl b/lib/dialyzer/src/dialyzer_options.erl index 5cd7523cec..5a56e0b0cb 100644 --- a/lib/dialyzer/src/dialyzer_options.erl +++ b/lib/dialyzer/src/dialyzer_options.erl @@ -105,12 +105,12 @@ adapt_get_warnings(Opts = #options{analysis_type = Mode, %% default. case is_plt_mode(Mode) of true -> - case Warns =:= maybe of + case Warns =:= 'maybe' of true -> Opts#options{get_warnings = false}; false -> Opts end; false -> - case Warns =:= maybe of + case Warns =:= 'maybe' of true -> Opts#options{get_warnings = true}; false -> Opts end -- 2.34.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor