fix: missing instantiateMVars
This commit is contained in:
parent
dd0b71938d
commit
9715bc7738
1 changed files with 1 additions and 0 deletions
|
|
@ -194,6 +194,7 @@ def newSubgoal (mctx : MetavarContext) (key : Expr) (mvar : Expr) (waiter : Wait
|
|||
withMCtx mctx $ do
|
||||
trace `Meta.synthInstance.newSubgoal $ fun _ => key;
|
||||
mvarType ← inferType mvar;
|
||||
mvarType ← instantiateMVars mvarType;
|
||||
instances ← getInstances mvarType;
|
||||
mctx ← getMCtx;
|
||||
if instances.isEmpty then pure ()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue