diff options
author | Stavros Aronis <[email protected]> | 2010-11-22 19:15:13 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-11-26 15:32:20 +0100 |
commit | df277325374eb49198e907fd19854058c211bf3d (patch) | |
tree | d036bbd2c31000fe887129f74158024a40b4b96e /lib/dialyzer | |
parent | 97a68f5fcf1bd89766905078a805e3058848130c (diff) | |
download | otp-df277325374eb49198e907fd19854058c211bf3d.tar.gz otp-df277325374eb49198e907fd19854058c211bf3d.tar.bz2 otp-df277325374eb49198e907fd19854058c211bf3d.zip |
Fix typo in warnings
Diffstat (limited to 'lib/dialyzer')
-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 895089846a..b4161ea194 100644 --- a/lib/dialyzer/src/dialyzer.erl +++ b/lib/dialyzer/src/dialyzer.erl @@ -385,7 +385,7 @@ message_to_string({spec_missing_fun, [M, F, A]}) -> [M, F, A]); %%----- Warnings for opaque type violations ------------------- message_to_string({call_with_opaque, [M, F, Args, ArgNs, ExpArgs]}) -> - io_lib:format("The call ~w:~w~s contains ~s argument when ~s\n", + io_lib:format("The call ~w:~w~s contains ~s when ~s\n", [M, F, Args, form_positions(ArgNs), form_expected(ExpArgs)]); message_to_string({call_without_opaque, [M, F, Args, ExpectedTriples]}) -> io_lib:format("The call ~w:~w~s does not have ~s\n", |