aboutsummaryrefslogtreecommitdiff
path: root/pretyping/coercion.ml
diff options
context:
space:
mode:
authorMaxime Dénès2017-05-25 12:49:12 +0200
committerMaxime Dénès2017-05-25 12:49:12 +0200
commit2f75922ad52e334b7bcc3a26c2ecb1602c85fc2f (patch)
tree3ba950c021df581a004a4af158880558eb2dbe14 /pretyping/coercion.ml
parent03e4f9c3da333d13553b4ea3247b0c36c124995e (diff)
parentcb316573aa1d09433531e7c67e320c14ef05c3e2 (diff)
Merge PR#481: [option] Remove support for non-synchronous options.
Diffstat (limited to 'pretyping/coercion.ml')
-rw-r--r--pretyping/coercion.ml7
1 files changed, 3 insertions, 4 deletions
diff --git a/pretyping/coercion.ml b/pretyping/coercion.ml
index 98a00f4332..3ef17912f7 100644
--- a/pretyping/coercion.ml
+++ b/pretyping/coercion.ml
@@ -33,14 +33,13 @@ open Globnames
let use_typeclasses_for_conversion = ref true
let _ =
- Goptions.declare_bool_option
- { Goptions.optsync = true;
- optdepr = false;
+ Goptions.(declare_bool_option
+ { optdepr = false;
optname = "use typeclass resolution during conversion";
optkey = ["Typeclass"; "Resolution"; "For"; "Conversion"];
optread = (fun () -> !use_typeclasses_for_conversion);
optwrite = (fun b -> use_typeclasses_for_conversion := b) }
-
+ )
(* Typing operations dealing with coercions *)
exception NoCoercion