Address review comment

This commit is contained in:
Hans Svensson
2019-04-23 10:47:59 +02:00
parent 4324bfd49e
commit 5e6af18c7b
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -135,7 +135,7 @@ encode_type(#tuple_t{args=As}) ->
Eas = encode_types(As),
[{<<"tuple">>,Eas}];
encode_type(#bytes_t{len=Len}) ->
list_to_binary(lists:concat(["bytes(", Len, ")"]));
{<<"bytes">>, Len};
encode_type(#record_t{fields=Fs}) ->
Efs = encode_fields(Fs),
[{<<"record">>,Efs}];