chore: improve error message

This commit is contained in:
Leonardo de Moura 2020-08-07 11:50:08 -07:00
parent aefc9a473f
commit feda5e746f

View file

@ -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