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

[Feature Request] Add clarification in the Move book that functions can return references #8175

Closed
movekevin opened this issue May 12, 2023 · 0 comments · Fixed by #8644
Closed
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@movekevin
Copy link
Contributor

This is a common misconception - that functions cannot return references at all. They can return references, except for references to global storage (mutable or not)

@movekevin movekevin added the enhancement New feature or request label May 12, 2023
@movekevin movekevin added the documentation Improvements or additions to documentation label May 12, 2023
@movekevin movekevin moved this from 🆕 New to For Grabs in Move Language and Runtime May 28, 2023
@movekevin movekevin moved this from For Grabs to 🏗 In progress in Move Language and Runtime May 28, 2023
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Move Language and Runtime Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants