Przeglądaj źródła

Add escript_foldl/3 TODO

Comment what has to be done when the new OTP release is out
and the time is right.
Tuncer Ayaz 15 lat temu
rodzic
commit
aeabfb6fe9
1 zmienionych plików z 3 dodań i 0 usunięć
  1. +3
    -0
      src/rebar_utils.erl

+ 3
- 0
src/rebar_utils.erl Wyświetl plik

@ -112,6 +112,9 @@ abort(String, Args) ->
?ERROR(String, Args),
halt(1).
%% TODO: Rename emulate_escript_foldl to escript_foldl and remove
%% this function when the time is right. escript:foldl/3 was an
%% undocumented exported fun and is going to be removed post-R13B04.
escript_foldl(Fun, Acc, File) ->
case erlang:function_exported(zip, foldl, 3) of
true ->

Ładowanie…
Anuluj
Zapisz