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

Detect useless code #20

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Detect useless code #20

wants to merge 1 commit into from

Conversation

bentsherman
Copy link
Member

Just a sketch for detecting and warning about useless code, i.e. code that has no "effect". Could add some DSL-specific hacks to make it work, but I think a proper treatment would require full type inference and dataflow analysis.

Ultimately I would like to detect unused work at the pipeline level, such as a process output that isn't used downstream or published.

Signed-off-by: Ben Sherman <[email protected]>
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