aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer.hrl
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.hrl
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.hrl')
-rw-r--r--lib/dialyzer/src/dialyzer.hrl10
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/dialyzer/src/dialyzer.hrl b/lib/dialyzer/src/dialyzer.hrl
index 6cb4af6a46..9a25f86512 100644
--- a/lib/dialyzer/src/dialyzer.hrl
+++ b/lib/dialyzer/src/dialyzer.hrl
@@ -89,12 +89,6 @@
-type dial_error() :: any(). %% XXX: underspecified
%%--------------------------------------------------------------------
-%% THIS TYPE SHOULD ONE DAY DISAPPEAR -- IT DOES NOT BELONG HERE
-%%--------------------------------------------------------------------
-
--type ordset(T) :: [T] . %% XXX: temporarily
-
-%%--------------------------------------------------------------------
%% Basic types used either in the record definitions below or in other
%% parts of the application
%%--------------------------------------------------------------------
@@ -144,7 +138,7 @@
init_plts = [] :: [file:filename()],
include_dirs = [] :: [file:filename()],
output_plt = none :: 'none' | file:filename(),
- legal_warnings = ordsets:new() :: ordset(dial_warn_tag()),
+ legal_warnings = ordsets:new() :: ordsets:ordset(dial_warn_tag()),
report_mode = normal :: rep_mode(),
erlang_mode = false :: boolean(),
use_contracts = true :: boolean(),
@@ -168,4 +162,4 @@
dialyzer_timing:end_stamp(Server),
Var
end).
--define(timing(Server, Msg, Expr),?timing(Server, Msg, _T, Expr)).
+-define(timing(Server, Msg, Expr), ?timing(Server, Msg, _T, Expr)).