diff options
| author | Heinz N. Gies <heinz@licenser.net> | 2015-09-22 00:57:38 +0200 | 
|---|---|---|
| committer | Heinz N. Gies <heinz@licenser.net> | 2015-09-22 00:57:38 +0200 | 
| commit | a00cc833adc0584b07d795ab8eb92cb16f96d82e (patch) | |
| tree | 31e6561737707c0d6d23f84f745d2dc2f91137d4 /src | |
| parent | 3c917be234a3a994880c871b1d63c37b0a04696a (diff) | |
Fix bad string caused by missing fmt call
Diffstat (limited to 'src')
| -rw-r--r-- | src/rebar_dialyzer_format.erl | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_dialyzer_format.erl b/src/rebar_dialyzer_format.erl index 282f359..9299b1a 100644 --- a/src/rebar_dialyzer_format.erl +++ b/src/rebar_dialyzer_format.erl @@ -100,14 +100,14 @@ message_to_string({improper_list_constr, [TlType]}) ->  message_to_string({no_return, [Type|Name]}) ->      NameString =          case Name of -            [] -> "~!WThe created fun "; +            [] -> fmt("~!WThe created fun ");              [F, A] -> fmt("~!WFunction ~!r~w/~w ", [F, A])          end,      case Type of          no_match -> fmt("~s~!Whas no clauses that will ever match\n",[NameString]);          only_explicit -> fmt("~s~!Wonly terminates with explicit exception\n", [NameString]); -        only_normal -> fmt("~s~!W~!Whas no local return\n", [NameString]); -        both -> fmt("~s~!W~!Whas no local return\n", [NameString]) +        only_normal -> fmt("~s~!Whas no local return\n", [NameString]); +        both -> fmt("~s~!Whas no local return\n", [NameString])      end;  message_to_string({record_constr, [RecConstr, FieldDiffs]}) ->      fmt("~!WRecord construction ~!!~s~!W violates the"  | 
