fix: losing postponed universe constraints

This bug was exposed by #342
This commit is contained in:
Leonardo de Moura 2021-03-10 14:18:03 -08:00
parent 904c23e901
commit 847f95021a

View file

@ -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