aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/declarations.ml
diff options
context:
space:
mode:
authorGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2015-02-26 13:13:05 +0100
committerGravatar Matthieu Sozeau <matthieu.sozeau@inria.fr>2015-02-26 13:17:08 +0100
commitc8944dccb081c79eb47ca91c7e2cb5c50558aeaa (patch)
tree864d06180488641234f190a7d4f08f153dd49a25 /checker/declarations.ml
parent6fcfa31005273e3d5e0fac6fec9c0448e66a8780 (diff)
Fix checker after addition of a universe context in with t := c constraints.
Diffstat (limited to 'checker/declarations.ml')
-rw-r--r--checker/declarations.ml2
1 files changed, 1 insertions, 1 deletions
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)