소스 검색

Fix bad string caused by missing fmt call

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

+ 3
- 3
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"

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