diff options
| author | Gaëtan Gilbert | 2020-10-26 11:45:28 +0100 |
|---|---|---|
| committer | Gaëtan Gilbert | 2020-10-26 11:45:47 +0100 |
| commit | e901ce83ff5c0a3a95d420f6ae10d07312fad4a4 (patch) | |
| tree | b2877208beb226126ee473eb5498bdaf58b1f28a /engine/eConstr.ml | |
| parent | 716299d489b5a91ab46b28900d04cd5dd7f7acac (diff) | |
universes_of_constr: don't ignore CaseInvert universes
Not sure if we can get a bug from this omission.
Diffstat (limited to 'engine/eConstr.ml')
| -rw-r--r-- | engine/eConstr.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/eConstr.ml b/engine/eConstr.ml index 36297fe243..5136e153ca 100644 --- a/engine/eConstr.ml +++ b/engine/eConstr.ml @@ -563,6 +563,9 @@ let universes_of_constr sigma c = | Array (u,_,_,_) -> let s = LSet.fold LSet.add (Instance.levels (EInstance.kind sigma u)) s in fold sigma aux s c + | Case (_,_,CaseInvert {univs;args=_},_,_) -> + let s = LSet.fold LSet.add (Instance.levels (EInstance.kind sigma univs)) s in + fold sigma aux s c | _ -> fold sigma aux s c in aux LSet.empty c |
