Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixed bug in decoding and empty dict (map) #1

Merged
merged 2 commits into from Jun 4, 2017
Merged

Conversation

aramallo
Copy link

@aramallo aramallo commented Jun 2, 2017

Hi,

This is a fix for a bug in the decoding of an empty map.

Currently

#{} =/= bert:decode(bert:encode(#{})).
{bert,dict,[]} =:= bert:decode(bert:encode(#{})).

With the fix

#{} =:= bert:decode(bert:encode(#{})).

@yuce
Copy link
Owner

yuce commented Jun 4, 2017

Hello!

Thank you for your contribution! I think rebar.lock was checked in accidentally. Would it be possible for you to remove it from the PR ?

@aramallo
Copy link
Author

aramallo commented Jun 4, 2017

Upss, sorry about that, I've just removed the rebar.lock file.

@yuce yuce merged commit fea7409 into yuce:master Jun 4, 2017
@yuce
Copy link
Owner

yuce commented Jun 4, 2017

Thank you!

@aramallo
Copy link
Author

aramallo commented Jun 4, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants