From c8944dccb081c79eb47ca91c7e2cb5c50558aeaa Mon Sep 17 00:00:00 2001 From: Matthieu Sozeau Date: Thu, 26 Feb 2015 13:13:05 +0100 Subject: Fix checker after addition of a universe context in with t := c constraints. --- checker/declarations.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checker/declarations.ml') diff --git a/checker/declarations.ml b/checker/declarations.ml index c6709a785..8d913475f 100644 --- a/checker/declarations.ml +++ b/checker/declarations.ml @@ -583,7 +583,7 @@ let implem_map fs fa = function let subst_with_body sub = function | WithMod(id,mp) -> WithMod(id,subst_mp sub mp) - | WithDef(id,c) -> WithDef(id,subst_mps sub c) + | WithDef(id,(c,ctx)) -> WithDef(id,(subst_mps sub c,ctx)) let rec subst_expr sub = function | MEident mp -> MEident (subst_mp sub mp) -- cgit v1.2.3