Fix function_clause bug
All checks were successful
Gajumaru Serialization Tests / tests (push) Successful in 49m17s

This commit is contained in:
Ulf Wiger 2025-04-14 12:04:12 +02:00
parent a949d166f6
commit a250828afa

View File

@ -424,8 +424,8 @@ decode_basic_(label, Fld, #{options := #{missing_labels := Opt}}) ->
error:_ -> Bin
end
end;
decode_basic_(label, Fld, _) ->
decode_basic(label, Fld).
decode_basic_(Type, Fld, _) ->
decode_basic(Type, Fld).
decode_basic(label, Fld) ->
binary_to_existing_atom(decode_basic(binary, Fld), utf8);