fix(frontends/lean/elaborator): typo

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-06-25 13:11:35 -07:00
parent c9133f33dd
commit 543b1003a6

View file

@ -368,7 +368,7 @@ public:
if (coercion_worked) {
a = new_a;
r = mk_app(f, a, e.get_tag());
} else if (coercion_worked) {
} else {
if (has_metavar(a_type) || has_metavar(d_type)) {
// rely on unification hints to solve this constraint
add_cnstr(mk_eq_cnstr(a_type, d_type, j.get()));