Skip to content

Commit 54d34ec

Browse files
clavoie-taktGabriella439
authored andcommitted
Make Lint handle some transitive cases. (#555)
1 parent 9ac11a5 commit 54d34ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Dhall/Lint.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ lint expression = loop (Dhall.Core.denote expression)
3434
a' = loop a
3535
b' = loop b
3636
loop (Let a b c d)
37-
| not (V a 0 `Dhall.Core.freeIn` d) =
38-
loop d
37+
| not (V a 0 `Dhall.Core.freeIn` d') =
38+
d'
3939
| otherwise =
4040
Let a b' c' d'
4141
where

0 commit comments

Comments
 (0)