소스 검색

Use correct types for OTP >=17.x

pull/3/head
Tuncer Ayaz 11 년 전
부모
커밋
c22370a2cb
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +1
    -1
      src/rebar_config.erl
  2. +2
    -2
      src/rebar_erlc_compiler.erl

+ 1
- 1
src/rebar_config.erl 파일 보기

@ -41,7 +41,7 @@
-ifdef(namespaced_types).
%% dict:dict() exists starting from Erlang 17.
-type rebar_dict() :: dict:dict().
-type rebar_dict() :: dict:dict(term(), term()).
-else.
%% dict() has been obsoleted in Erlang 17 and deprecated in 18.
-type rebar_dict() :: dict().

+ 2
- 2
src/rebar_erlc_compiler.erl 파일 보기

@ -48,8 +48,8 @@
}).
-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.
-type rebar_digraph() :: digraph().

불러오는 중...
취소
저장