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

make typedesc arg of init procs not require generic param #674

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

metagn
Copy link
Contributor

@metagn metagn commented Feb 15, 2025

A fix to nim-lang/Nim#24688 could imply that typedesc args with types like Foo[T] should not match a type Foo, especially if the T is inferred. init procs are usually called as such i.e. init(ctx, NetName), so their parameters are given a type typedesc[NetName] rather than typedesc[NetName[T]]. Hopefully this is not too much of an incompatibility.

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