diff options
| author | Matthieu Sozeau | 2015-02-26 13:13:05 +0100 |
|---|---|---|
| committer | Matthieu Sozeau | 2015-02-26 13:17:08 +0100 |
| commit | c8944dccb081c79eb47ca91c7e2cb5c50558aeaa (patch) | |
| tree | 864d06180488641234f190a7d4f08f153dd49a25 /checker/declarations.ml | |
| parent | 6fcfa31005273e3d5e0fac6fec9c0448e66a8780 (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.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/checker/declarations.ml b/checker/declarations.ml index c6709a7852..8d913475f9 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) |
