Skip to content

Having trouble encoding dict #2

@appush

Description

@appush

Erlang R13B04

D1 = dict:new().
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}}
D2 = dict:store(one,1,D1).
{dict,1,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[[one|1]],[],[],[],[],[],[],[],[],[],[]}}}
bert:encode(D2).
** exception error: no function clause matching lists:map(#Fun<bert.0.13327860>,1)
in function lists:map/2
in call from lists:map/2
in call from lists:map/2
in call from bert:encode_term/1
in call from lists:map/2
in call from bert:encode_term/1
in call from lists:map/2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions