Skip to content

Commit

Permalink
Why didn't GHC warn me about this unused variable?
Browse files Browse the repository at this point in the history
  • Loading branch information
ionathanch committed May 30, 2023
1 parent 4901082 commit 075c64d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TypeCheck.hs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ tcTerm t@(DCon c j0 args) (Just ty) mk = do
]
Telescope delta' <- Equal.displaceTele j0 (Telescope delta)
Telescope deltai' <- Equal.displaceTele j0 (Telescope deltai)
newTele <- substTele delta params deltai'
newTele <- substTele delta' params deltai'
args' <- tcArgTele args newTele mk
return (ty, DCon c j0 args')
_ ->
Expand Down

0 comments on commit 075c64d

Please sign in to comment.