diff options
| author | Théo Zimmermann | 2019-03-27 14:58:44 +0100 |
|---|---|---|
| committer | Théo Zimmermann | 2019-03-27 14:58:44 +0100 |
| commit | 2bf7384b3f187187331f0b5dd9ae4a3238e0b5e3 (patch) | |
| tree | 937bb3c4605aaff81c00bd2813ac12f24963e340 | |
| parent | 6f57ee036df0f28a97e247b57fab6ef452bf7647 (diff) | |
| parent | 676348579e907c09f575863b5afba42f5478041a (diff) | |
Merge PR #9825: Deprecate `Refine Instance Mode` option
Reviewed-by: Zimmi48
| -rw-r--r-- | CHANGES.md | 3 | ||||
| -rw-r--r-- | doc/sphinx/addendum/type-classes.rst | 2 | ||||
| -rw-r--r-- | vernac/classes.ml | 2 |
3 files changed, 6 insertions, 1 deletions
diff --git a/CHANGES.md b/CHANGES.md index dcf321c7ff..d43dc668e8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -153,6 +153,9 @@ Vernacular commands - The `Show Script` command has been deprecated. +- Option `Refine Instance Mode` has been deprecated and will be removed in + the next version. + Tools - The `-native-compiler` flag of `coqc` and `coqtop` now takes an argument which can have three values: diff --git a/doc/sphinx/addendum/type-classes.rst b/doc/sphinx/addendum/type-classes.rst index e6a5b3972c..0a480bdbe7 100644 --- a/doc/sphinx/addendum/type-classes.rst +++ b/doc/sphinx/addendum/type-classes.rst @@ -561,6 +561,8 @@ Settings .. flag:: Refine Instance Mode + .. deprecated:: 8.10 + This flag allows to switch the behavior of instance declarations made through the Instance command. diff --git a/vernac/classes.ml b/vernac/classes.ml index 1981e24ae4..61b8cc3dcb 100644 --- a/vernac/classes.ml +++ b/vernac/classes.ml @@ -31,7 +31,7 @@ open Entries let refine_instance = ref false let () = Goptions.(declare_bool_option { - optdepr = false; + optdepr = true; optname = "definition of instances by refining"; optkey = ["Refine";"Instance";"Mode"]; optread = (fun () -> !refine_instance); |
