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:
parent
0878b44fc7
commit
bfe64a7031
1 changed files with 1 additions and 1 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue