Skip to content

Commit

Permalink
[ cleanup ] heterogeneous eqTerm makes believe_me unnecessary
Browse files Browse the repository at this point in the history
  • Loading branch information
mjustus authored and gallais committed Nov 23, 2023
1 parent ba97353 commit 154dcec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Termination/CallGraph.idr
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ sizeEq (TDelay _ _ t x) (TDelay _ _ t' x') = sizeEq t t' && sizeEq x x'
sizeEq (TForce _ _ t) (TForce _ _ t') = sizeEq t t'
sizeEq (PrimVal _ c) (PrimVal _ c') = c == c'
-- traverse dotted LHS terms
sizeEq t (Erased _ (Dotted t')) = believe_me t == t' -- t' is no longer a pattern
sizeEq t (Erased _ (Dotted t')) = eqTerm t t' -- t' is no longer a pattern
sizeEq (TType _ _) (TType _ _) = True
sizeEq _ _ = False

Expand Down

0 comments on commit 154dcec

Please sign in to comment.