diff options
| author | Pierre-Marie Pédrot | 2020-08-12 14:14:37 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2020-08-12 14:16:15 +0200 |
| commit | 52894e97f045c257ba5f4a7c9d64c48fa1913994 (patch) | |
| tree | aa8a5c69f5c53024599310e265eee993b4a45122 /tactics/hints.ml | |
| parent | 8e6ed558860740ec5e763cac14e7417dfb1f1fa8 (diff) | |
Cosmetic changes as suggested by SkySkimmer.
Diffstat (limited to 'tactics/hints.ml')
| -rw-r--r-- | tactics/hints.ml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tactics/hints.ml b/tactics/hints.ml index e029e4628d..7b203c3d51 100644 --- a/tactics/hints.ml +++ b/tactics/hints.ml @@ -1608,13 +1608,12 @@ let connect_hint_clenv h gl = let emap c = Vars.subst_univs_level_constr subst c in let evd = Evd.merge_context_set Evd.univ_flexible evd ctx in (* Only metas are mentioning the old universes. *) - let clenv = { + { templval = Evd.map_fl emap clenv.templval; templtyp = Evd.map_fl emap clenv.templtyp; evd = Evd.map_metas emap evd; env = Proofview.Goal.env gl; - } in - clenv + } else let evd = Evd.merge_context_set Evd.univ_flexible evd ctx in { clenv with evd = evd ; env = Proofview.Goal.env gl } |
