Skip to content

Warnings for unused bindings#507

Open
rachitnigam wants to merge 6 commits intomainfrom
unused
Open

Warnings for unused bindings#507
rachitnigam wants to merge 6 commits intomainfrom
unused

Conversation

@rachitnigam
Copy link
Member

Produce warnings when particular kinds of bindings are not used in the program.

invoked_instances: HashSet<String>,
accessed_invocations: HashSet<String>,
referenced_params: HashSet<String>,
}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This approach tracks one single scope for the entire component but constructs like "for" and "if" create new scopes and bindings may shadow each other. This means that the single flat global scope would not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant