chore: add trace message for typing errors

This commit is contained in:
Leonardo de Moura 2019-11-21 11:00:27 -08:00
parent 21f37e7f6a
commit 9098cb0eab

View file

@ -678,7 +678,8 @@ private partial def processAssignmentAux (mvar : Expr) (mvarDecl : MetavarDecl)
a type incorrect term. See discussion at A2 -/
condM (isTypeCorrect v)
(finalize ())
(useFOApprox ())
(do trace! `Meta.isDefEq.assignment.typeError (mvar ++ " := " ++ v);
useFOApprox ())
else
finalize ()