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

Code actions: handle "unused ..." warnings #700

Open
17 tasks
ulugbekna opened this issue May 17, 2022 · 0 comments
Open
17 tasks

Code actions: handle "unused ..." warnings #700

ulugbekna opened this issue May 17, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ulugbekna
Copy link
Collaborator

We can add code actions to handle various compiler warnings for unused module/value/etc.

  • Warning 11: Redundant case in a pattern matching (unused match case).
  • Warning 20: Unused function argument
  • Warning 32: Unused value declaration
  • Warning 33: Unused open
    • remove unused open
    • convert it to open!
  • Warning 34: Unused type declaration
  • Warning 35: Unused for-loop index
  • Warning 36: Unused ancestor
  • Warning 37: Unused constructor
  • Warning 38: Unused extension constructor
  • Warning 39: Unused rec flag
  • Warning 60: Unused module
  • Warning 66: Unused open! bang
  • Warning 67: Unused functor parameter
  • Warning 69: Unused record field
  • Warning 71: Unused @tail_mod_cons attribute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant