diff options
| author | Enrico Tassi | 2014-02-12 10:27:32 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2014-02-12 10:28:47 +0100 |
| commit | 85f1d9ca4b10a80be6929c81e2e6ca4c7634f619 (patch) | |
| tree | ef82f402b15bbeca114a9c430c606b6a4e52084a /proofs | |
| parent | 971f5d2ddff84a479022bb38af799f7e4166dea3 (diff) | |
TC: honor the use_typeclasses flag in pretyping
The coercion code was not seeing such flag and always trying
to resolve type classes. In particular open_contr is pretyped
without type classes.
Diffstat (limited to 'proofs')
| -rw-r--r-- | proofs/goal.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proofs/goal.ml b/proofs/goal.ml index c40570c2c5..4d1aa41248 100644 --- a/proofs/goal.ml +++ b/proofs/goal.ml @@ -193,7 +193,7 @@ module Refinable = struct let my_type = Retyping.get_type_of env !rdefs t in let j = Environ.make_judge t my_type in let (new_defs,j') = - Coercion.inh_conv_coerce_to (Loc.ghost) env !rdefs j typ + Coercion.inh_conv_coerce_to true (Loc.ghost) env !rdefs j typ in rdefs := new_defs; j'.Environ.uj_val |
