Skip to content

Commit

Permalink
Update src/Juvix/Compiler/Internal/Translation/FromInternal/Analysis/…
Browse files Browse the repository at this point in the history
…Positivity/Checker.hs

Co-authored-by: Jan Mas Rovira <[email protected]>
  • Loading branch information
jonaprieto and janmasrovira authored Nov 30, 2023
1 parent 10ebf30 commit fc359ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ checkStrictlyPositiveOccurrences p = do
ax@ExpressionIden IdenAxiom {} -> do
when (isJust $ find (varOrInductiveInExpression name) args) $
throwTypeAsArgumentOfBoundVarError ax
var@(ExpressionIden (IdenVar _)) -> do
var@ExpressionIden IdenVar {} -> do
when (isJust $ find (varOrInductiveInExpression name) args) $
throwTypeAsArgumentOfBoundVarError var
ExpressionIden (IdenInductive ty') -> do
Expand Down

0 comments on commit fc359ab

Please sign in to comment.