-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
Replace the impure
keyword with #[storage(...)]
annotations.
#1518
Conversation
f85c688
to
d16e680
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add documentation to The Sway Book?
Have updated the docs though I'm not sure the terms I've used are OK. Like using 'privilege'. And maybe the page needs more structure, it only has a single section. |
f58436b
to
8fa2f3e
Compare
The parsing side of this looks okay to me. We should really have a Edit: I went and wrote a PR for this: #1559. So maybe merge that first or just use those commits in this PR. |
92696c9
to
55346c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I'll let @sezna make the final approval.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, love the thorough testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, that's the last time I try to resolve a merge conflict in the GitHub web editor. :(
😂
Closes #1447.
Closes #470. Except for the chain bit. Do we want a new issue for chain attributes?