mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-18 10:21:39 +03:00
Don't look inside guesses for metavariables
This will happen if there's an error earlier in the file, and only leads to a cryptic error message
This commit is contained in:
parent
6f5d3f5fef
commit
4f4be770ad
@ -206,6 +206,7 @@ mutual
|
||||
| _ => throw (UndefinedName fc n)
|
||||
let expand = case (definition gdef, rig) of
|
||||
(Hole _ _, _) => False
|
||||
(Guess _ _, _) => False
|
||||
(_, Rig0) => False
|
||||
_ => True
|
||||
if expand
|
||||
|
Loading…
Reference in New Issue
Block a user