-
Notifications
You must be signed in to change notification settings - Fork 11.3k
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
[Move] Fixed test function calling entry function and updated docs #1653
Conversation
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.
Thanks, Adam!
doc/src/build/move.md
Outdated
@@ -254,7 +252,7 @@ that it will do what it is intended to do.) | |||
|
|||
In general, an entry function, must satisfy the following properties: | |||
|
|||
- be public | |||
- have `public(script)` visibility modifier | |||
- have no return value | |||
- have parameters ordered as follows: |
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.
This seems out of dated too.
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.
Could we update this and merge it soon? This part seems still out-of-dated.
fd21354
to
0e8102c
Compare
Can you remove the constraint on parameters order as well? |
Done! |
Thanks, Adam! |
Introduction of
public(script)
designation of entry points introduced a requirement to put the same modifier on the test functions calling entry functions. This fixes the problem for the Move quick start tutorial.