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

Visibility #10

Merged
merged 8 commits into from
Aug 22, 2024
Merged

Visibility #10

merged 8 commits into from
Aug 22, 2024

Conversation

mariaKt
Copy link
Contributor

@mariaKt mariaKt commented Aug 20, 2024

This PR address issue #1743.

For functions, all visibility specifiers were already handled syntactically and being added to the <contract-fn-visibility> cell. For state variables, they can only be internal, private or public, so no need to handle external for them. When there is no inheritance, internal (accessed through current contract or contracts derived from it) would be the same as private. Public and private specifier were already handled.

So, at this time, I think that all that is needed for this issue is to replace internal with private in our tests. Please let me know if you would like anything additional.

@mariaKt mariaKt marked this pull request as ready for review August 20, 2024 22:32
Base automatically changed from contracts to main August 22, 2024 15:36
@dwightguth dwightguth merged commit 5b9a3b6 into main Aug 22, 2024
1 check passed
@dwightguth dwightguth deleted the visibility branch August 22, 2024 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants