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

A lint feature to RSM module #76

Open
windley opened this issue Mar 8, 2015 · 0 comments
Open

A lint feature to RSM module #76

windley opened this issue Mar 8, 2015 · 0 comments
Assignees

Comments

@windley
Copy link
Member

windley commented Mar 8, 2015

Do the following:

  • identify vars that are used but not defined in a scope
  • identity vars that are defined and not used in a scope
  • identify vars that are declared more than once in a scope

Could use a "count" map that gets initialized to zero when we see a var and is incremented when the var is used.

  • vars that have 0 at the end were never used
  • vars that are already there are double declared.
  • vars that aren't there on use were never declared
@windley windley self-assigned this Mar 8, 2015
solargroovy pushed a commit that referenced this issue Feb 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant