mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-12-19 19:01:44 +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)
|
| _ => throw (UndefinedName fc n)
|
||||||
let expand = case (definition gdef, rig) of
|
let expand = case (definition gdef, rig) of
|
||||||
(Hole _ _, _) => False
|
(Hole _ _, _) => False
|
||||||
|
(Guess _ _, _) => False
|
||||||
(_, Rig0) => False
|
(_, Rig0) => False
|
||||||
_ => True
|
_ => True
|
||||||
if expand
|
if expand
|
||||||
|
Loading…
Reference in New Issue
Block a user