Skip to content

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.

@metagn
Copy link
Contributor Author

metagn commented Mar 29, 2025

Tested in Nim CI in nim-lang/Nim#24690, seems to work, CI here seems to be broken for other reasons

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