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

Add a warning for when pub is applied to trait methods #6919

Closed
TomAFrench opened this issue Jan 2, 2025 · 0 comments · Fixed by #6923
Closed

Add a warning for when pub is applied to trait methods #6919

TomAFrench opened this issue Jan 2, 2025 · 0 comments · Fixed by #6923
Assignees

Comments

@TomAFrench
Copy link
Member

We've got a lot of pubs on the methods here which are unnecessary (as all trait methods are public)

https://github.com/noir-lang/noir-bignum/blob/1fcb2c91a9a471e511f313c15f463c3c6f987f14/src/bignum.nr#L22-L100

Ideally this is something that will throw a warning to the user and be automatically removed by the formatter.

@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Jan 2, 2025
@asterite asterite self-assigned this Jan 2, 2025
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants