Fixed double parens in ACI pp

Co-Authored-By: Ulf Norell <ulf.norell@gmail.com>
This commit is contained in:
Radosław Rowicki 2019-07-29 11:01:38 +02:00 committed by GitHub
parent 5ff983b0b3
commit c97eb99921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -266,7 +266,7 @@ decode_type(#{tuple := Ets}) ->
Ts = decode_types(Ets), Ts = decode_types(Ets),
case Ts of case Ts of
[] -> ["unit"]; [] -> ["unit"];
_ -> ["(", $(,lists:join(" * ", Ts),$), ")"] _ -> [$(,lists:join(" * ", Ts),$)]
end; end;
decode_type(#{record := Efs}) -> decode_type(#{record := Efs}) ->
Fs = decode_fields(Efs), Fs = decode_fields(Efs),