fix: losing postponed universe constraints
This bug was exposed by #342
This commit is contained in:
parent
904c23e901
commit
847f95021a
1 changed files with 2 additions and 0 deletions
|
|
@ -213,6 +213,8 @@ private def restore (env : Environment) (mctx : MetavarContext) (postponed : Per
|
|||
try
|
||||
if (← x) then
|
||||
if (← processPostponed mayPostpone) then
|
||||
let newPostponed ← getPostponed
|
||||
setPostponed (postponed ++ newPostponed)
|
||||
return true
|
||||
else
|
||||
restore env mctx postponed
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue