Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CLJ-1766: Serializing+deserializing lists breaks their hash
Lists declare their `hash` and `hasheq` fields as transients, which are deserialized with default value `0`, breaking the expectation of non-computed values. Transients are meant to be non-serialized by default, so changing `0` to be non-computed on this case is not only more natural but also fixes the serialization roundtrip. Signed-off-by: Stuart Halloway <stu@cognitect.com>
- Loading branch information
1 parent
1d5237f
commit bd6e906
Showing
2 changed files
with
7 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters