normalize

This commit is contained in:
Andrei Neculau 2017-01-07 14:01:19 +01:00
parent fdd22015cf
commit 3333e32c45
No known key found for this signature in database
GPG Key ID: 3570C6DE977687AA
2 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@
-type kvc_obj_node() :: proplist() | {struct, proplist()} | [{}] | dict()
| gb_tree() | term().
-type typed_proplist() :: {proplist() | {gb_tree, gb_tree()}, elem_type()}.
-define(IF_MAPS(_), ).
-define(IF_MAPS(Exp), ).
-else.
-type kvc_obj_node() :: proplist() | {struct, proplist()} | [{}] | dict:dict()
| gb_trees:tree() | map() | term().

View File

@ -118,7 +118,7 @@
%% Maps conditional compilation
-ifdef(erlang_deprecated_types).
-define(IF_MAPS(EXP), ).
-define(IF_MAPS(Exp), ).
-else.
-define(IF_MAPS(Exp), Exp).
-endif.