diff options
| author | Maxime Dénès | 2018-09-26 15:39:09 +0200 |
|---|---|---|
| committer | Maxime Dénès | 2018-09-26 15:39:09 +0200 |
| commit | 3f486b2334fa3a5ab7774e212a5c592ba241535c (patch) | |
| tree | 35e9ec7cff5a560771668fee993e4dc4cd049091 /plugins | |
| parent | 6a48e732577b9ab09d458c7526f599d4528fe2fc (diff) | |
| parent | ff74451389c13828c644157c960c0d314b389b95 (diff) | |
Merge PR #8506: [ssr] use the right environment in ssrpattern (fix #8454)
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/ssrmatching/ssrmatching.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ssrmatching/ssrmatching.ml b/plugins/ssrmatching/ssrmatching.ml index 20ea8b3667..aadb4fe5f6 100644 --- a/plugins/ssrmatching/ssrmatching.ml +++ b/plugins/ssrmatching/ssrmatching.ml @@ -1366,7 +1366,7 @@ let ssrpatterntac _ist arg gl = let concl0 = pf_concl gl in let concl0 = EConstr.Unsafe.to_constr concl0 in let (t, uc), concl_x = - fill_occ_pattern (Global.env()) sigma0 concl0 pat noindex 1 in + fill_occ_pattern (pf_env gl) sigma0 concl0 pat noindex 1 in let t = EConstr.of_constr t in let concl_x = EConstr.of_constr concl_x in let gl, tty = pf_type_of gl t in |
