Skip to content

Warn on unused variables #84

Open
Open
@harrisont

Description

@harrisont

It would be a nice feature to warn on unused variables.

  • Note that a variable should be considered unused if it is never read, even if it is written.
  • Make sure to count function properties as read, even though it doesn't appear in the .bff file as a read.
  • Follow code paths for all platforms, not just the current one (__WINDOWS__/__OSX__/__LINUX__).
  • Add a setting to toggle the check, since some users will find it annoying, and it's backwards incompatible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions