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

extend automatic serialization support for distinct in Nim 2 #93

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

etan-status
Copy link
Contributor

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.

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.
@etan-status etan-status merged commit 89f7be1 into master Jul 3, 2024
15 checks passed
@etan-status etan-status deleted the dev/etan/wr-distinct branch July 3, 2024 14:11
arnetheduck added a commit that referenced this pull request Sep 26, 2024
arnetheduck added a commit that referenced this pull request Sep 26, 2024
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.

1 participant