소스 검색

Add colour for 'the call comtains' message

pull/828/head
Heinz N. Gies 9 년 전
부모
커밋
02a7dc4772
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      src/rebar_dialyzer_format.erl

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

@ -169,7 +169,7 @@ message_to_string({spec_missing_fun, [M, F, A]}) ->
%%----- Warnings for opaque type violations -------------------
message_to_string({call_with_opaque, [M, F, Args, ArgNs, ExpArgs]}) ->
fmt("~!^The call ~!!~w:~w~s~!^ contains ~!!~s~!^ when ~!!~s",
[M, F, Args, form_positions(ArgNs), form_expected(ExpArgs)]);
[M, F, bad_arg(ArgNs, Args), form_positions(ArgNs), form_expected(ExpArgs)]);
message_to_string({call_without_opaque, [M, F, Args, [{N,_,_}|_] = ExpectedTriples]}) ->
fmt("~!^The call ~!!~w:~w~s ~!^does not have~!! ~s",
[M, F, bad_arg(N, Args), form_expected_without_opaque(ExpectedTriples)]);

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