aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <[email protected]>2014-04-22 14:51:13 -0500
committerTristan Sloughter <[email protected]>2014-04-22 14:52:12 -0500
commit65ebddf5d7222c7d06111cce09fb5e076686fc06 (patch)
treeae101ba5ee5cc99397166cf2066cc985b677f8b5 /src
parent6c962c924086fcfbc8b5e463aa6a50f1521a65f7 (diff)
downloadrelx-65ebddf5d7222c7d06111cce09fb5e076686fc06.tar.gz
relx-65ebddf5d7222c7d06111cce09fb5e076686fc06.tar.bz2
relx-65ebddf5d7222c7d06111cce09fb5e076686fc06.zip
handle deprecated pre-defined types for 17.0 and later
Diffstat (limited to 'src')
-rw-r--r--src/rlx_depsolver.erl4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rlx_depsolver.erl b/src/rlx_depsolver.erl
index 20423d0..5d78174 100644
--- a/src/rlx_depsolver.erl
+++ b/src/rlx_depsolver.erl
@@ -112,7 +112,11 @@
%%============================================================================
%% type
%%============================================================================
+-ifdef(namespaced_types).
+-type dep_graph() :: gb_tree:tree().
+-else.
-type dep_graph() :: gb_tree().
+-endif.
-opaque t() :: {?MODULE, dep_graph()}.
-type pkg() :: {pkg_name(), vsn()}.
-type pkg_name() :: binary() | atom().