Skip to content

Fix bug when linting multi-let expressions #703

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

Merged
merged 1 commit into from
Nov 24, 2018
Merged

Conversation

Gabriella439
Copy link
Collaborator

dhall lint was incorrectly deleting let bindings that are being used
due to not checking other let bindings within the same multi-let
expression for free variable occurrences.

This change fixes that and adds the first regression test for dhall lint

`dhall lint` was incorrectly deleting `let` bindings that are being used
due to not checking other `let` bindings within the same multi-`let`
expression for free variable occurrences.

This change fixes that and adds the first regression test for `dhall
lint`
@Gabriella439 Gabriella439 merged commit 203a228 into master Nov 24, 2018
@Gabriella439 Gabriella439 deleted the gabriel/fix_lint branch November 24, 2018 16:32
@Gabriella439 Gabriella439 mentioned this pull request Nov 24, 2018
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