fix: accidental variable shadowing
This commit is contained in:
parent
bae4a5fc7c
commit
1aa398415c
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ if a.isLambda && !b.isLambda then do
|
|||
bType ← inferType b;
|
||||
bType ← whnfUsingDefault bType;
|
||||
match bType with
|
||||
| Expr.forallE n d b c =>
|
||||
| Expr.forallE n d _ c =>
|
||||
let b' := Lean.mkLambda n c.binderInfo d (mkApp b (mkBVar 0));
|
||||
try $ isExprDefEqAux a b'
|
||||
| _ => pure false
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue