mirror of
https://github.com/idris-lang/Idris2.git
synced 2025-01-05 15:08:00 +03:00
Fix unification error
A typo! But it causes some things to fail to unify, especially in proof search.
This commit is contained in:
parent
3c601d9878
commit
663f895058
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user