aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer.erl
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2010-11-22 19:15:13 +0200
committerBjörn Gustavsson <[email protected]>2010-11-26 15:32:20 +0100
commitdf277325374eb49198e907fd19854058c211bf3d (patch)
treed036bbd2c31000fe887129f74158024a40b4b96e /lib/dialyzer/src/dialyzer.erl
parent97a68f5fcf1bd89766905078a805e3058848130c (diff)
downloadotp-df277325374eb49198e907fd19854058c211bf3d.tar.gz
otp-df277325374eb49198e907fd19854058c211bf3d.tar.bz2
otp-df277325374eb49198e907fd19854058c211bf3d.zip
Fix typo in warnings
Diffstat (limited to 'lib/dialyzer/src/dialyzer.erl')
-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 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",