mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-26 11:46:34 +01:00
erlang: stopped support for dict() type.
This commit is contained in:
parent
7b152640d9
commit
dad7a03d19
@ -114,8 +114,6 @@ pack_(List) when is_list(List) ->
|
||||
pack_array(List);
|
||||
pack_({Map}) when is_list(Map) ->
|
||||
pack_map(Map);
|
||||
pack_(Map) when is_tuple(Map), element(1,Map)=:=dict ->
|
||||
pack_map(dict:to_list(Map));
|
||||
pack_(Other) ->
|
||||
throw({error, {badarg, Other}}).
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user