aboutsummaryrefslogtreecommitdiff
path: root/proofs/redexpr.ml
diff options
context:
space:
mode:
authorMaxime Dénès2015-10-08 18:06:55 +0200
committerMaxime Dénès2015-10-15 14:36:30 +0200
commit3116aeff0cdc51e6801f3e8ae4a6c0533e1a75ac (patch)
treeb6b33c6c6167656b1ca9799407eeb56aa1de749f /proofs/redexpr.ml
parentd08aa6b4f742a7162e726920810765258802c176 (diff)
Fix #4346 1/2: native casts were not inferring universe constraints.
Diffstat (limited to 'proofs/redexpr.ml')
-rw-r--r--proofs/redexpr.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/proofs/redexpr.ml b/proofs/redexpr.ml
index f172bbdd1a..be92f2b04c 100644
--- a/proofs/redexpr.ml
+++ b/proofs/redexpr.ml
@@ -35,8 +35,7 @@ let cbv_native env sigma c =
cbv_vm env sigma c
else
let ctyp = Retyping.get_type_of env sigma c in
- let evars = Nativenorm.evars_of_evar_map sigma in
- Nativenorm.native_norm env evars c ctyp
+ Nativenorm.native_norm env sigma c ctyp
let whd_cbn flags env sigma t =
let (state,_) =