chore: improve error message
This commit is contained in:
parent
aefc9a473f
commit
feda5e746f
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ withMVarContext mvarId $ do
|
|||
"invalid equality proof, it is not of the form "
|
||||
++ (if symm then "(t = x)" else "(x = t)")
|
||||
++ indentExpr hLocalDecl.type
|
||||
++ Format.line ++ "after WHNF, variable expected, but obtained" ++ indentExpr a
|
||||
|
||||
def subst (mvarId : MVarId) (hFVarId : FVarId) : MetaM MVarId :=
|
||||
withMVarContext mvarId $ do
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue