Skip to content
This repository has been archived by the owner on Mar 25, 2024. It is now read-only.

Fix serialization of TaggedValue in to_value #314

Merged
merged 2 commits into from Aug 13, 2022
Merged

Fix serialization of TaggedValue in to_value #314

merged 2 commits into from Aug 13, 2022

Conversation

dtolnay
Copy link
Owner

@dtolnay dtolnay commented Aug 13, 2022

Fixes #313.

Currently fails with:

    ---- test_tagged stdout ----
    thread 'test_tagged' panicked at 'assertion failed: `(left == right)`
      left: `TaggedValue { tag: !Variant, value: Number(0) }`,
     right: `Mapping {"!Variant": Number(0)}`', tests/test_value.rs:148:5
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TaggedValue is not preserved by to_value
1 participant