Skip to content

Commit

Permalink
perf: use hasExprMvar in type class search
Browse files Browse the repository at this point in the history
  • Loading branch information
JovanGerb committed May 25, 2024
1 parent b0c1112 commit b8de322
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Lean/Meta/SynthInstance.lean
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def mkGeneratorNode? (key mvar : Expr) : MetaM (Option GeneratorNode) := do
let mctx ← getMCtx
return some {
mvar, key, mctx, instances
typeHasMVars := mvarType.hasMVar
typeHasMVars := mvarType.hasExprMVar
currInstanceIdx := instances.size
}

Expand Down

0 comments on commit b8de322

Please sign in to comment.