aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer.erl
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2014-03-19 15:44:30 +0100
committerHans Bolinder <[email protected]>2014-03-24 15:00:04 +0100
commit26eef1c3f3e3166b0e864475484e947c4ccc009d (patch)
tree34f7425f25a45bf8f5bb229e8a90696a8bc0cb62 /lib/dialyzer/src/dialyzer.erl
parent8ffbf0feccb375afc10ce676070b6b778e9bf260 (diff)
downloadotp-26eef1c3f3e3166b0e864475484e947c4ccc009d.tar.gz
otp-26eef1c3f3e3166b0e864475484e947c4ccc009d.tar.bz2
otp-26eef1c3f3e3166b0e864475484e947c4ccc009d.zip
Use the ordsets:ordset(T) type instead of defining a local one
Diffstat (limited to 'lib/dialyzer/src/dialyzer.erl')
-rw-r--r--lib/dialyzer/src/dialyzer.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/dialyzer/src/dialyzer.erl b/lib/dialyzer/src/dialyzer.erl
index 1b7b0226cc..cec94a49fd 100644
--- a/lib/dialyzer/src/dialyzer.erl
+++ b/lib/dialyzer/src/dialyzer.erl
@@ -447,7 +447,6 @@ message_to_string({opaque_size, [SizeType, Size]}) ->
message_to_string({opaque_call, [M, F, Args, Culprit, OpaqueType]}) ->
io_lib:format("The call ~s:~s~s breaks the opaqueness of the term ~s :: ~s\n",
[M, F, Args, Culprit, OpaqueType]);
-
%%----- Warnings for concurrency errors --------------------
message_to_string({race_condition, [M, F, Args, Reason]}) ->
io_lib:format("The call ~w:~w~s ~s\n", [M, F, Args, Reason]);
@@ -564,4 +563,4 @@ form_position_string(ArgNs) ->
ordinal(1) -> "1st";
ordinal(2) -> "2nd";
ordinal(3) -> "3rd";
-ordinal(N) when is_integer(N) -> io_lib:format("~wth",[N]).
+ordinal(N) when is_integer(N) -> io_lib:format("~wth", [N]).