-
Notifications
You must be signed in to change notification settings - Fork 5.4k
Add warning
for unused import
s
#1298
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
Comments
import
swarning
for unused import
s
I plan to take a look into this following #1213 as a way to familiarise with dead code analysis, but won't assign to myself until then in case someone else wants to pick this up in the meantime. |
I did some digging: Dead code analysis is performed on the typed ast. We remove import statements from the typed AST and say they are cc @mitchmindtree if you still plan on taking this one, your work in #1578 could end up impacting how import statements are represented and thusly could impact this issue. |
Can I contribute to this one? I am a well expereinced developer. eta 5hours |
Hi, I’m Manasseh, and I’d like to take on this task! I’m a Rustacean with 3 years of experience and a strong grip on programming principles. Since this is a Sway compiler written in Rust, I can add a warning for unused imports like Thanks, Manasseh |
Can I work on this, please? I understand that this is a compiler and this issue requires that I implement to display warnings for unused variables when compiling a sway program. |
Can I take this from here? |
Hello, could I work on this? |
The text was updated successfully, but these errors were encountered: