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

feat: func visibility checks for free functions #163

Merged
merged 3 commits into from
Dec 11, 2024

Conversation

TilakMaddy
Copy link
Contributor

No description provided.

@TilakMaddy TilakMaddy marked this pull request as ready for review December 11, 2024 09:06
Comment on lines +39 to +40
// function f7(string storage) internal {}
// function f7(string memory) {}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@DaniPopes If I don't comment this out, it's causing many errors in this file to be skipped (not emitted). Please can you help me understand what's happening? I see that f8 functions below have also been commented probably for similar reason

Copy link
Member

Choose a reason for hiding this comment

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

Compilation fails at an earlier stage, so the later stages which emit these errors don't get reached; commenting out is fine

@TilakMaddy TilakMaddy changed the title Func visibility checks for free functions feat: func visibility checks for free functions Dec 11, 2024
@TilakMaddy TilakMaddy requested a review from DaniPopes December 11, 2024 16:18
@DaniPopes DaniPopes merged commit 314058f into paradigmxyz:main Dec 11, 2024
12 checks passed
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