mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Use correct types for OTP >=17.x
This commit is contained in:
parent
5f995bfdc0
commit
c22370a2cb
2 changed files with 3 additions and 3 deletions
|
@ -41,7 +41,7 @@
|
||||||
|
|
||||||
-ifdef(namespaced_types).
|
-ifdef(namespaced_types).
|
||||||
%% dict:dict() exists starting from Erlang 17.
|
%% dict:dict() exists starting from Erlang 17.
|
||||||
-type rebar_dict() :: dict:dict().
|
-type rebar_dict() :: dict:dict(term(), term()).
|
||||||
-else.
|
-else.
|
||||||
%% dict() has been obsoleted in Erlang 17 and deprecated in 18.
|
%% dict() has been obsoleted in Erlang 17 and deprecated in 18.
|
||||||
-type rebar_dict() :: dict().
|
-type rebar_dict() :: dict().
|
||||||
|
|
|
@ -48,8 +48,8 @@
|
||||||
}).
|
}).
|
||||||
|
|
||||||
-ifdef(namespaced_types).
|
-ifdef(namespaced_types).
|
||||||
%% digraph:digraph() exists starting from Erlang 17.
|
%% digraph:graph() exists starting from Erlang 17.
|
||||||
-type rebar_digraph() :: digraph:digraph().
|
-type rebar_digraph() :: digraph:graph().
|
||||||
-else.
|
-else.
|
||||||
%% digraph() has been obsoleted in Erlang 17 and deprecated in 18.
|
%% digraph() has been obsoleted in Erlang 17 and deprecated in 18.
|
||||||
-type rebar_digraph() :: digraph().
|
-type rebar_digraph() :: digraph().
|
||||||
|
|
Loading…
Reference in a new issue