diff options
Diffstat (limited to 'kernel/typeops.ml')
-rw-r--r-- | kernel/typeops.ml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kernel/typeops.ml b/kernel/typeops.ml index a9cc151cf..6c4cb4574 100644 --- a/kernel/typeops.ml +++ b/kernel/typeops.ml @@ -271,8 +271,9 @@ let judge_of_cast env cj k tj = cj.uj_val, conv_leq true env cj.uj_type expected_type | NATIVEcast -> - mkCast (cj.uj_val, k, expected_type), - native_conv CUMUL env cj.uj_type expected_type + let sigma = Nativelambda.empty_evars in + mkCast (cj.uj_val, k, expected_type), + native_conv CUMUL sigma env cj.uj_type expected_type in { uj_val = c; uj_type = expected_type }, |