diff options
| author | Maxime Dénès | 2017-04-24 14:45:53 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2017-04-24 14:45:53 +0200 |
| commit | 4c92188d485cf5d27c9a73caf2be8c149cb4f883 (patch) | |
| tree | c47688b392359e58493c6dac8ce85bcb4e9c5789 /engine/proofview.ml | |
| parent | b57ff91ae70cb8bb086499fad07aa40b39cb8de2 (diff) | |
| parent | 40f7eb94b653b60f79c4f6eb204960037fcffa66 (diff) | |
Merge PR#552: Miscelaneous commits
Diffstat (limited to 'engine/proofview.ml')
| -rw-r--r-- | engine/proofview.ml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engine/proofview.ml b/engine/proofview.ml index 9c264439be..f054038e9c 100644 --- a/engine/proofview.ml +++ b/engine/proofview.ml @@ -1020,11 +1020,11 @@ module Goal = struct let assume (gl : ('a, 'r) t) = (gl :> ([ `NF ], 'r) t) - let env { env=env } = env - let sigma { sigma=sigma } = Sigma.Unsafe.of_evar_map sigma - let hyps { env=env } = EConstr.named_context env - let concl { concl=concl } = concl - let extra { sigma=sigma; self=self } = goal_extra sigma self + let env {env} = env + let sigma {sigma} = Sigma.Unsafe.of_evar_map sigma + let hyps {env} = EConstr.named_context env + let concl {concl} = concl + let extra {sigma; self} = goal_extra sigma self let gmake_with info env sigma goal = { env = Environ.reset_with_named_context (Evd.evar_filtered_hyps info) env ; @@ -1040,7 +1040,7 @@ module Goal = struct let nf_enter f = InfoL.tag (Info.Dispatch) begin iter_goal begin fun goal -> - Env.get >>= fun env -> + tclENV >>= fun env -> tclEVARMAP >>= fun sigma -> try let (gl, sigma) = nf_gmake env sigma goal in |
