-
-
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
Modification via a ref isn't detected with {.experimental: "strictFuncs".} with default GC #15096
Comments
The problem here is that you enable the strict checking for your own code and not for |
with default GC |
Thank you. Does that mean I should get the compiler error for
? I don't. :) And according to what you said, |
* fixes nim-lang#15110 * fixes nim-lang#15096 * prepare varpartitions for cursor inference * new cursor inference begins to work * make tests green
A modification of a recursive structure via a ref isn't detected by the compiler.
Example
(Thanks to @Yardanico for reducing my code example further. :-) )
Current Output
Expected Output
The modification is detected with
--gc:orc
.Additional Information
The text was updated successfully, but these errors were encountered: