Просмотр исходного кода

Add no local return styling

pull/823/head
Heinz N. Gies 9 лет назад
Родитель
Сommit
bba67f8b21
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      src/rebar_dialyzer_format.erl

+ 1
- 1
src/rebar_dialyzer_format.erl Просмотреть файл

@ -149,7 +149,7 @@ message_to_string({unmatched_return, [Type]}) ->
format("Expression produces a value of type ~s," format("Expression produces a value of type ~s,"
" but this value is unmatched\n", [Type]); " but this value is unmatched\n", [Type]);
message_to_string({unused_fun, [F, A]}) -> message_to_string({unused_fun, [F, A]}) ->
format("Function ~w/~w will never be called\n", [F, A]);
format(?BW "Function "?NR"~w/~w"?BW" will never be called\n", [F, A]);
%%----- Warnings for specs and contracts ------------------- %%----- Warnings for specs and contracts -------------------
message_to_string({contract_diff, [M, F, _A, Contract, Sig]}) -> message_to_string({contract_diff, [M, F, _A, Contract, Sig]}) ->
format("Type specification ~w:~w~s" format("Type specification ~w:~w~s"

Загрузка…
Отмена
Сохранить