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

Skip typedescs in nonIntrusiveBody #22

Closed
wants to merge 2 commits into from
Closed

Skip typedescs in nonIntrusiveBody #22

wants to merge 2 commits into from

Conversation

metagn
Copy link

@metagn metagn commented Aug 23, 2023

As described in nim-lang/Nim#22535, there is a Nim bug where generic parameters used in templates act like values of types rather than types themselves. Fixing this causes this macro to fail on calls from nonIntrusiveTemplate because it now provides a typedesc for the first argument and a complaint is made that serializing typedescs is not possible. To avoid this, skip the typedesc representation.

As described in nim-lang/Nim#22535, there is a Nim bug where generic parameters used in templates act like values of types rather than types themselves. Fixing this causes this macro to fail on calls from `nonIntrusiveTemplate` because it now provides a typedesc for the first argument and a complaint is made that serializing typedescs is not possible. To avoid this, skip the typedesc representation.
@metagn metagn closed this by deleting the head repository Sep 6, 2023
@metagn
Copy link
Author

metagn commented Sep 6, 2023

Feel free to apply patch manually

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