-
Notifications
You must be signed in to change notification settings - Fork 18
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
Error: undeclared identifier: 'shallowCopy'`` on all examples #50
Comments
See this PR. The issue is: I can probably work arund this with the shallow pragma, but it would take a while... I am no actively using Nim right now, so this kind of language level change is rather disruptive. If you want to start from that PR and ensure that copies are actually shallow, I would be happy to accept it |
As someone who has the same problem, an easy solucion is write --gc:refc as option, something like nim c --gc:refc -r main.nim |
How feasible would it be for a Nim newcomer to implement the |
It would amount to marking Test coverage is good enough that I think if tests pass, everything is fine. |
Thanks so much! That doesn't sound as difficult as I'd feared. If we end up considering Nim seriously enough to put some work into this issue, I'll let you know. |
All the examples I try give the following error:
neo/dense.nim(90, 14) Error: undeclared identifier: 'shallowCopy'
I am using Nim Compiler Version 1.9.1 .
The text was updated successfully, but these errors were encountered: