aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-08-05 10:05:17 +0200
committerBjörn Gustavsson <[email protected]>2016-08-05 10:05:17 +0200
commit96bfcd990025076c11e1d1dd128a07f83ee04ae3 (patch)
treef83dfc562e268765470fb430a5d27a19a03d8819
parent3b83672893a067f87518517a008b024df10c9db1 (diff)
parentde7e9fb478181f60fa0b3e8340e5a74ae0beb1a3 (diff)
downloadotp-96bfcd990025076c11e1d1dd128a07f83ee04ae3.tar.gz
otp-96bfcd990025076c11e1d1dd128a07f83ee04ae3.tar.bz2
otp-96bfcd990025076c11e1d1dd128a07f83ee04ae3.zip
Merge branch 'elbrujohalcon/dialyzer/fix-spec/PR-1134/OTP-13786' into maint
* elbrujohalcon/dialyzer/fix-spec/PR-1134/OTP-13786: Improve format_warning/1 spec
-rw-r--r--lib/dialyzer/src/dialyzer.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dialyzer/src/dialyzer.erl b/lib/dialyzer/src/dialyzer.erl
index bcac8afe64..7f86520c06 100644
--- a/lib/dialyzer/src/dialyzer.erl
+++ b/lib/dialyzer/src/dialyzer.erl
@@ -282,7 +282,7 @@ cl_check_log(none) ->
cl_check_log(Output) ->
io:format(" Check output file `~s' for details\n", [Output]).
--spec format_warning(raw_warning()) -> string().
+-spec format_warning(raw_warning() | dial_warning()) -> string().
format_warning(W) ->
format_warning(W, basename).