diff options
author | Björn Gustavsson <[email protected]> | 2016-08-05 10:15:31 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-08-05 10:15:31 +0200 |
commit | e487bb1b14e8abfa5fa4dfd310d7fae87c941bc7 (patch) | |
tree | 8b709ef747c3e9440305e22b4d7c79a3a75756e8 | |
parent | dc68932f4f82d98486e18024eabd3418b8ab36db (diff) | |
parent | 96bfcd990025076c11e1d1dd128a07f83ee04ae3 (diff) | |
download | otp-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.erl | 2 |
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). |