diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2019-05-19 08:54:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-19 08:54:44 -0400 |
commit | cf51007d9c7f58a61069037ec079c84b2760527b (patch) | |
tree | 348014db4b11810ff43e3e5ac24c31ee63a145e3 /src | |
parent | 3a16cf3763c198e9167ec11a146e25334adc82f5 (diff) | |
parent | 8653a95ae59e4ceca1968484e1be0c83b4792c9e (diff) |
Merge pull request #2078 from ferd/otp-22.0
OTP-22.0 readiness
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar.hrl | 14 | ||||
-rw-r--r-- | src/rebar_utils.erl | 2 |
2 files changed, 1 insertions, 15 deletions
diff --git a/src/rebar.hrl b/src/rebar.hrl index f11302d..fedf0d0 100644 --- a/src/rebar.hrl +++ b/src/rebar.hrl @@ -55,23 +55,9 @@ state :: term(), implementation :: rebar_resource | rebar_resource_v2}). --ifdef(namespaced_types). -type rebar_dict() :: dict:dict(). --else. --type rebar_dict() :: dict(). --endif. - --ifdef(namespaced_types). -type rebar_digraph() :: digraph:graph(). --else. --type rebar_digraph() :: digraph(). --endif. - --ifdef(namespaced_types). -type rebar_set() :: sets:set(). --else. --type rebar_set() :: set(). --endif. -ifdef(fun_stacktrace). -define(WITH_STACKTRACE(T, R, S), T:R -> S = erlang:get_stacktrace(),). diff --git a/src/rebar_utils.erl b/src/rebar_utils.erl index c920e46..6e5e934 100644 --- a/src/rebar_utils.erl +++ b/src/rebar_utils.erl @@ -972,7 +972,7 @@ get_proxy_auth() -> {ok, ProxyAuth} -> ProxyAuth end. --spec rebar_utils:is_list_of_strings(term()) -> boolean(). +-spec is_list_of_strings(term()) -> boolean(). is_list_of_strings(List) when not is_list(hd(List)) -> false; is_list_of_strings(List) when is_list(hd(List)) -> |