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

[Move] Fixed test function calling entry function and updated docs #1653

Merged
merged 2 commits into from
May 11, 2022

Conversation

awelc
Copy link
Contributor

@awelc awelc commented Apr 28, 2022

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.

@awelc awelc requested a review from Clay-Mysten as a code owner April 28, 2022 17:12
Copy link
Contributor

@Clay-Mysten Clay-Mysten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Adam!

@awelc awelc enabled auto-merge (squash) April 28, 2022 17:56
@Clay-Mysten Clay-Mysten changed the title [Move] Fixed test function calling entry functino and updated docs [Move] Fixed test function calling entry function and updated docs Apr 28, 2022
@@ -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:
Copy link
Contributor

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.

Copy link
Contributor

@lxfind lxfind left a 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.

@awelc awelc force-pushed the aw/move-doc-public-fix branch from fd21354 to 0e8102c Compare May 11, 2022 16:08
@lxfind
Copy link
Contributor

lxfind commented May 11, 2022

Can you remove the constraint on parameters order as well?

@awelc awelc self-assigned this May 11, 2022
@awelc awelc added Type: Documentation Improvements or additions to documentation Triaged Issue is associated with a milestone and has at least 1 label of each: status, type, & priority move labels May 11, 2022
@awelc
Copy link
Contributor Author

awelc commented May 11, 2022

Can you remove the constraint on parameters order as well?

Done!

@awelc awelc merged commit f766470 into main May 11, 2022
@awelc awelc deleted the aw/move-doc-public-fix branch May 11, 2022 17:50
@Clay-Mysten
Copy link
Contributor

Thanks, Adam!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
move Triaged Issue is associated with a milestone and has at least 1 label of each: status, type, & priority Type: Documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants