From bba67f8b211ebd1fc50f335bbaa3e69d0633fee1 Mon Sep 17 00:00:00 2001 From: "Heinz N. Gies" Date: Mon, 21 Sep 2015 07:08:06 +0200 Subject: Add no local return styling --- src/rebar_dialyzer_format.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/rebar_dialyzer_format.erl b/src/rebar_dialyzer_format.erl index a6a6574..e4c0183 100644 --- a/src/rebar_dialyzer_format.erl +++ b/src/rebar_dialyzer_format.erl @@ -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" -- cgit v1.1