Browse Source

Add no local return styling

pull/823/head
Heinz N. Gies 9 years ago
parent
commit
bba67f8b21
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar_dialyzer_format.erl

+ 1
- 1
src/rebar_dialyzer_format.erl View File

@ -149,7 +149,7 @@ message_to_string({unmatched_return, [Type]}) ->
format("Expression produces a value of type ~s,"
" but this value is unmatched\n", [Type]);
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 -------------------
message_to_string({contract_diff, [M, F, _A, Contract, Sig]}) ->
format("Type specification ~w:~w~s"

Loading…
Cancel
Save