Skip to content
Permalink
Browse files
Removing opacity violation in sets printing
I did not notice this when merging the initial pull request, but
Dialyzer got angry there.
  • Loading branch information
ferd committed May 16, 2019
1 parent ceb0f65 commit e51bc3c31a98f513307cc9b4ae8abf5c31fb77d0
Showing 1 changed file with 1 addition and 6 deletions.
@@ -620,12 +620,7 @@ format_trace_output(Recs, Args) ->
format_trace_output(Recs, recon_map:is_active(), Args).

format_trace_output(true, _, Args) when is_tuple(Args) ->
case sets:is_set(Args) of
true ->
["set:", format_trace_output(true, sets:to_list(Args))];
false ->
recon_rec:format_tuple(Args)
end;
recon_rec:format_tuple(Args);
format_trace_output(true, Maps, Args) when is_list(Args) ->
case io_lib:printable_list(Args) of
true ->

0 comments on commit e51bc3c

Please sign in to comment.