Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extend automatic serialization support for
distinct
in Nim 2 (#93)
In Nim 2, `distinct` values no longer match `value is object` but need to be checked separately with `value is distinct`. The underlying type can be unwrapped with `distinctBase` to inspect whether this is a value of type `distinct object` or `distinct` something-else.
- Loading branch information