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
NimVM generic procs that take anonymous tuples gives nil access error. #15662
Labels
VM
see also `const` label
Comments
I have a fix for this one |
Merged
With the fix I now have the same issue with the following. Starting to think might be wise to just avoid anonymous tuples for Nimscripter. 😄 static:
proc test[T](t: typedesc[T]): T =
discard
echo test((int, int)) |
mildred
pushed a commit
to mildred/Nim
that referenced
this issue
Jan 11, 2021
* fix nim-lang#15662 * alternative fix * fix spacing
irdassis
pushed a commit
to irdassis/Nim
that referenced
this issue
Mar 16, 2021
* fix nim-lang#15662 * alternative fix * fix spacing
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
* fix nim-lang#15662 * alternative fix * fix spacing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using
T: typedesc
and passing a anonymous tuple the NimVM is incapable of running the codeExample
Current Output
Expected Output
Nim version
The text was updated successfully, but these errors were encountered: