mirror of
https://github.com/idris-lang/Idris2.git
synced 2024-12-18 16:51:51 +03:00
Update comment to cover changes
This commit is contained in:
parent
c9f7f308cf
commit
f9d00ea63e
@ -726,8 +726,9 @@ implicitsAs n defs ns tm
|
||||
Core (List (Name, PiInfo RawImp))
|
||||
-- #834 When we are in a local definition, we have an explicit telescope
|
||||
-- corresponding to the variables bound in the parent function.
|
||||
-- So we first peel off all of the explicit quantifiers corresponding
|
||||
-- to these variables.
|
||||
-- Parameter blocks also introduce additional telescope of implicit, auto,
|
||||
-- and explicit variables. So we first peel off all of the quantifiers
|
||||
-- corresponding to these variables.
|
||||
findImps ns es (_ :: locals) (NBind fc x (Pi _ _ _ _) sc)
|
||||
= do body <- sc defs (toClosure defaultOpts [] (Erased fc Placeholder))
|
||||
findImps ns es locals body
|
||||
|
Loading…
Reference in New Issue
Block a user