Skip to content

Commit

Permalink
Try even more postponing.
Browse files Browse the repository at this point in the history
  • Loading branch information
gebner committed Jul 17, 2023
1 parent e861ebb commit 530b35c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Qq/Macro.lean
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,7 @@ def Impl.macro (t : Syntax) (expectedType : Expr) : TermElabM Expr := do
if ← synth.isAssigned then
let t ← synth.synth s
unless ← isDefEq mvar t do
tryPostpone
throwError "cannot assign metavariable ({mvar} : {← inferType mvar}) with {t}"

instantiateMVars mainMVar
Expand Down

0 comments on commit 530b35c

Please sign in to comment.