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

5.7.5 All Variables Used #120

Open
jlouis opened this issue Oct 30, 2017 · 0 comments
Open

5.7.5 All Variables Used #120

jlouis opened this issue Oct 30, 2017 · 0 comments

Comments

@jlouis
Copy link
Owner

jlouis commented Oct 30, 2017

This task depends on Issue #107. Once that is done, then this is trivial to satisfy. You walk the document, and build a union set over the variables in it. A fragment contains a type signature which transitively knows about its variable uses.

Once the full set is created, you can use it to subtract from the set of variables. If that set becomes the empty set, then every variable has at least one use.

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