fix(library/elaborator): hack for fixing a bug due to pairs/projs, this is temporary fix until we build a new elaborator

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2014-02-11 21:30:26 -08:00
parent 0878b44fc7
commit bfe64a7031

View file

@ -1389,7 +1389,7 @@ class elaborator::imp {
} else if (is_abstraction(b)) { } else if (is_abstraction(b)) {
imitate_abstraction(a, b, c); imitate_abstraction(a, b, c);
return true; return true;
} else if (is_app(b) && !has_metavar(arg(b, 0))) { } else if (is_app(b) && (is_var(arg(b, 0)) || is_constant(arg(b, 0)) || is_value(arg(b, 0)))) {
imitate_application(a, b, c); imitate_application(a, b, c);
return true; return true;
} else if (is_proj(b)) { } else if (is_proj(b)) {