We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
links:
also might be root cause for issues like:
template lookup fails with nested generic types nim-lang/Nim#9494
Cannot explicitly instantiate a generic template inside a generic proc nim-lang/Nim#12905
Symbol binding bug with generics and template nim-lang/Nim#12683
https://nim-lang.org/docs/manual.html#templates-limitations-of-the-method-call-syntax
breaks optional parameters (eg cmp[T]) even when those aren't used for a given T, see add algorithm.merge nim-lang/Nim#16182 (comment)
cmp[T]
T
causes:
here's another example:
when true: # D20201207T194715 template fn= type Dollar = distinct int let a1 = 1 let a2 = a1.Dollar fn()
=> Error: undeclared field: 'Dollar'
see what should be a proper fix for nim-lang#11167 without generic prepass
The text was updated successfully, but these errors were encountered:
No branches or pull requests
generic prepass is bad
links:
also might be root cause for issues like:
template lookup fails with nested generic types nim-lang/Nim#9494
Cannot explicitly instantiate a generic template inside a generic proc nim-lang/Nim#12905
Symbol binding bug with generics and template nim-lang/Nim#12683
https://nim-lang.org/docs/manual.html#templates-limitations-of-the-method-call-syntax
breaks optional parameters (eg
cmp[T]
) even when those aren't used for a givenT
, see add algorithm.merge nim-lang/Nim#16182 (comment)likewise for template pre-pass
causes:
here's another example:
=> Error: undeclared field: 'Dollar'
TODO
see what should be a proper fix for nim-lang#11167 without generic prepass
The text was updated successfully, but these errors were encountered: