Fix unification error

A typo! But it causes some things to fail to unify, especially in proof
search.
This commit is contained in:
Edwin Brady 2020-08-04 20:53:01 +01:00
parent 3c601d9878
commit 663f895058

View File

@ -764,7 +764,7 @@ mutual
unifyHoleApp swap mode loc env mname mref margs margs' (NDCon nfc n t a args')
= do defs <- get Ctxt
mty <- lookupTyExact n (gamma defs)
unifyInvertible swap (lower mode) loc env mname mref margs margs' mty (NTCon nfc n t a) args'
unifyInvertible swap (lower mode) loc env mname mref margs margs' mty (NDCon nfc n t a) args'
unifyHoleApp swap mode loc env mname mref margs margs' (NApp nfc (NLocal r idx p) args')
= unifyInvertible swap (lower mode) loc env mname mref margs margs' Nothing
(NApp nfc (NLocal r idx p)) args'