-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
T
in typedesc[T]
treated as value in templates
#17240
Labels
Comments
possible duplicate of #13527 (which is more general and explains root cause) |
metagn
added a commit
to metagn/Nim
that referenced
this issue
Aug 23, 2023
fixes nim-lang#13527, fixes nim-lang#17240, fixes nim-lang#6340, fixes nim-lang#20033, fixes nim-lang#19576, fixes nim-lang#19076
metagn
added a commit
to metagn/Nim
that referenced
this issue
Aug 25, 2023
fixes nim-lang#13527, fixes nim-lang#17240, fixes nim-lang#6340, fixes nim-lang#20033, fixes nim-lang#19576, fixes nim-lang#19076
Araq
pushed a commit
that referenced
this issue
Aug 25, 2023
narimiran
pushed a commit
that referenced
this issue
Dec 1, 2023
narimiran
pushed a commit
that referenced
this issue
Dec 1, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Example
Current Output
Expected Output
compiles
Possible Solution
using typedesc parameter itself like
i[0].to(t)
works.The text was updated successfully, but these errors were encountered: