Skip to content

Commit

Permalink
[ Rewriting ] Better blocking tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesper Cockx committed Oct 16, 2015
1 parent 8aaf105 commit cc13509
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/full/Agda/TypeChecking/Rewriting/NonLinMatch.hs
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,11 @@ instance Match NLPat Term where
match k p' body
PPi pa pb -> case ignoreSharing v of
Pi a b -> match k pa a >> match k pb b
MetaV m es -> matchingBlocked $ Blocked m ()
_ -> no
PBoundVar i ps -> case ignoreSharing v of
Var i' es | i == i' -> matchArgs k ps es
MetaV m es -> matchingBlocked $ Blocked m ()
_ -> no
PTerm u -> tellEq k u v
where
Expand Down

0 comments on commit cc13509

Please sign in to comment.