Skip to content

Prevent having two different unpacking methods#548

Merged
xerial merged 2 commits intomsgpack:developfrom
cyberdelia:no-map-land
May 11, 2021
Merged

Prevent having two different unpacking methods#548
xerial merged 2 commits intomsgpack:developfrom
cyberdelia:no-map-land

Conversation

@cyberdelia
Copy link
Contributor

Prevent having two different unpacking methods in the unpacker: unpackValue exclusively use arrays for both arrays and maps , and unpackValue(Variable) uses list and map. This will prevent having two different behaviour when unpacking values and prevent some code duplication.

@xerial xerial merged commit 75d33d1 into msgpack:develop May 11, 2021
@cyberdelia
Copy link
Contributor Author

Well, I'm still worried by the lack of tests failing because of my improper logic copy/pasta.

@cyberdelia cyberdelia deleted the no-map-land branch May 11, 2021 19:35
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.

2 participants