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

mut parameters #5361

Closed
Braqzen opened this issue Dec 2, 2023 · 2 comments
Closed

mut parameters #5361

Braqzen opened this issue Dec 2, 2023 · 2 comments
Labels
enhancement New feature or request language feature Core language features visible to end users

Comments

@Braqzen
Copy link
Contributor

Braqzen commented Dec 2, 2023

I believe only self can be mutable in the parameters.

We should support all params to be mutable.

@Braqzen Braqzen added enhancement New feature or request language feature Core language features visible to end users labels Dec 2, 2023
@ironcev
Copy link
Member

ironcev commented Dec 2, 2023

Exactly. This is planned as a part of implementing the new concept for references. The details are listed in this PR: FuelLabs/sway-rfcs#33

@IGI-111
Copy link
Contributor

IGI-111 commented Dec 6, 2023

Closed as duplicate of #5063

@IGI-111 IGI-111 closed this as not planned Won't fix, can't repro, duplicate, stale Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request language feature Core language features visible to end users
Projects
None yet
Development

No branches or pull requests

3 participants