Displaying 1 result from an estimated 1 matches for "3fa96fd".
2017 Mar 03
2
[PATCH] generator: Allow actions to be deprecated with no replacement.
...rdoc-ref:%s instead." alt
+ | { deprecated_by = Deprecated_no_replacement } ->
+ doc ^ "\n *\n * [Deprecated]" in
let doc =
match f.optional with
| None -> doc
diff --git a/generator/types.ml b/generator/types.ml
index fd9f215..3fa96fd 100644
--- a/generator/types.ml
+++ b/generator/types.ml
@@ -342,6 +342,11 @@ type visibility =
type version = int * int * int
+type deprecated_by =
+ | Not_deprecated (* function not deprecated *)
+ | Replaced_by of string (* replaced by another function *)
+ | Depre...