-
-
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
system.insert
wipes the string if item
is an empty string
#23223
Labels
Comments
ghost
added
the
ARC/ORC Memory Management
label
Jan 17, 2024
Yeah, it needs to prevent self movement. |
ringabout
added a commit
that referenced
this issue
Jan 18, 2024
Araq
pushed a commit
that referenced
this issue
Jan 18, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
This code currently works with
--mm:refc
, but with--mm:arc
or ORC (default) it replaces all characters in the string with null bytes:Nim Version
Current Output
Expected Output
Either a runtime error when calling
insert
with an emptyitem
, or fixing the bug so that the output becomes:Possible Solution
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: