diff options
author | Björn Gustavsson <[email protected]> | 2016-08-05 10:05:17 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-08-05 10:05:17 +0200 |
commit | 96bfcd990025076c11e1d1dd128a07f83ee04ae3 (patch) | |
tree | f83dfc562e268765470fb430a5d27a19a03d8819 | |
parent | 3b83672893a067f87518517a008b024df10c9db1 (diff) | |
parent | de7e9fb478181f60fa0b3e8340e5a74ae0beb1a3 (diff) | |
download | otp-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.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). |