From 9bd403ec1b6cedf0542e193774a7af52b27c0a1b Mon Sep 17 00:00:00 2001 From: Gaƫtan Gilbert Date: Wed, 7 Nov 2018 15:25:59 +0100 Subject: Fix #8908: incorrect refresh of algebraic universes. --- engine/uState.ml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/uState.ml') diff --git a/engine/uState.ml b/engine/uState.ml index 41905feab7..dc760e7f97 100644 --- a/engine/uState.ml +++ b/engine/uState.ml @@ -577,6 +577,9 @@ let make_flexible_variable ctx ~algebraic u = {ctx with uctx_univ_variables = uvars'; uctx_univ_algebraic = avars'} +let make_nonalgebraic_variable ctx u = + { ctx with uctx_univ_algebraic = Univ.LSet.remove u ctx.uctx_univ_algebraic } + let make_flexible_nonalgebraic ctx = {ctx with uctx_univ_algebraic = Univ.LSet.empty} -- cgit v1.2.3