summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2014-07-15 08:45:36 -0400
committerFred Hebert <mononcqc@ferd.ca>2014-07-15 08:45:36 -0400
commit8b6a2a8c74c75a2bb2fa45567b1e16ee5aee8658 (patch)
treebcaa74ffe8c1acb40f456a5b421ecabeffec0ac2 /src
parent353af1cdba8f48c0c0355d726c532cc942b69cb0 (diff)
parent15373a580fa11783a28084f8456211dd84c270b8 (diff)
Merge branch 'minor-fixes' of https://github.com/tuncer/rebar into tuncer-minor-fixes
Diffstat (limited to 'src')
-rw-r--r--src/rebar_config.erl6
-rw-r--r--src/rebar_erlc_compiler.erl6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/rebar_config.erl b/src/rebar_config.erl
index 1c90d22..bdc3fb5 100644
--- a/src/rebar_config.erl
+++ b/src/rebar_config.erl
@@ -40,10 +40,10 @@
-include("rebar.hrl").
-ifdef(namespaced_types).
-% dict:dict() exists starting from Erlang 17.
--type rebar_dict() :: dict:dict().
+%% dict:dict() exists starting from Erlang 17.
+-type rebar_dict() :: dict:dict(term(), term()).
-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().
-endif.
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl
index 376cde5..f628433 100644
--- a/src/rebar_erlc_compiler.erl
+++ b/src/rebar_erlc_compiler.erl
@@ -48,10 +48,10 @@
}).
-ifdef(namespaced_types).
-% digraph:digraph() exists starting from Erlang 17.
--type rebar_digraph() :: digraph:digraph().
+%% digraph:graph() exists starting from Erlang 17.
+-type rebar_digraph() :: digraph:graph().
-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().
-endif.