aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-08-05 10:15:31 +0200
committerBjörn Gustavsson <[email protected]>2016-08-05 10:15:31 +0200
commite487bb1b14e8abfa5fa4dfd310d7fae87c941bc7 (patch)
tree8b709ef747c3e9440305e22b4d7c79a3a75756e8
parentdc68932f4f82d98486e18024eabd3418b8ab36db (diff)
parent96bfcd990025076c11e1d1dd128a07f83ee04ae3 (diff)
downloadotp-e487bb1b14e8abfa5fa4dfd310d7fae87c941bc7.tar.gz
otp-e487bb1b14e8abfa5fa4dfd310d7fae87c941bc7.tar.bz2
otp-e487bb1b14e8abfa5fa4dfd310d7fae87c941bc7.zip
Merge branch 'maint'
* maint: 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).