fix(library/elaborator): temporary fix for bug reported by Jeremy
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
parent
16844fff73
commit
309e7ba880
1 changed files with 5 additions and 0 deletions
|
@ -1727,6 +1727,11 @@ class elaborator::imp {
|
|||
if (!eq && is_bool(a) && is_type(b))
|
||||
return true;
|
||||
|
||||
if ((is_proj(a) && instantiate_metavars(true, a, c)) ||
|
||||
(is_proj(b) && instantiate_metavars(false, b, c))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (a.kind() == b.kind()) {
|
||||
switch (a.kind()) {
|
||||
case expr_kind::Constant: case expr_kind::Var: case expr_kind::Value:
|
||||
|
|
Loading…
Reference in a new issue