Skip to content
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

Memory and storage copying #152

Closed
g-r-a-n-t opened this issue Dec 8, 2020 · 0 comments · Fixed by #155
Closed

Memory and storage copying #152

g-r-a-n-t opened this issue Dec 8, 2020 · 0 comments · Fixed by #155

Comments

@g-r-a-n-t
Copy link
Member

g-r-a-n-t commented Dec 8, 2020

What is wrong?

We do not have operations for copying segments of memory to memory or segments of storage to storage. This makes it so that assignments like my_array = my_array or self.my_array = self.my_array trigger an unimplemented panic during compilation. We should also be using memory-to-memory copying when passing values into other functions.

How can it be fixed

Implement said copy operations and use them for assignments, declarations, and call arguments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant