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

Keeps suggesting use of leading underscore despite it existing #763

Closed
waalge opened this issue Nov 18, 2023 · 6 comments
Closed

Keeps suggesting use of leading underscore despite it existing #763

waalge opened this issue Nov 18, 2023 · 6 comments

Comments

@waalge
Copy link
Contributor

waalge commented Nov 18, 2023

Diagnostics:
1. I came across an unused variable: __own_mint.
    [aiken::check::unused::variable]
2. No big deal, but you might want to remove it or use a discard ___own_mint to get rid of that warning.

nixos. aiken 1.0.20 + unknown

@rvcas
Copy link
Member

rvcas commented Nov 19, 2023

Oh interesting, so like multiple underscores causes this problem?

@waalge
Copy link
Contributor Author

waalge commented Nov 19, 2023

I was asked to add the first cos it wasn't used. And then it just stayed asking me to add another, and another ...

@rvcas
Copy link
Member

rvcas commented Nov 21, 2023

@waalge ok understood, I'll look into it. Thanks for reporting

@rvcas
Copy link
Member

rvcas commented Nov 28, 2023

I found the problem

CleanShot 2023-11-27 at 20 52 54@2x

@rvcas
Copy link
Member

rvcas commented Nov 28, 2023

oh well actually this is expected behavior but the wording could be changed to be a little less confusing

CleanShot 2023-11-27 at 21 08 45@2x

@rvcas
Copy link
Member

rvcas commented Nov 28, 2023

CleanShot 2023-11-27 at 21 19 15@2x

@rvcas rvcas closed this as completed in 2980e8e Nov 28, 2023
@rvcas rvcas mentioned this issue Nov 28, 2023
52 tasks
@rvcas rvcas moved this to ✅ Done in Project Tracking Mar 22, 2024
@rvcas rvcas moved this to 🚀 Released in Project Tracking May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🚀 Released
Development

No branches or pull requests

2 participants