summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_config.erl4
-rw-r--r--src/rebar_erlc_compiler.erl4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/rebar_config.erl b/src/rebar_config.erl
index 1c90d22..0127aff 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.
+%% dict:dict() exists starting from Erlang 17.
-type rebar_dict() :: dict:dict().
-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..ae4503b 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.
+%% digraph:digraph() exists starting from Erlang 17.
-type rebar_digraph() :: digraph:digraph().
-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.