Displaying 2 results from an estimated 2 matches for "594036d".
Did you mean:
59403
2017 Mar 03
0
Re: [PATCH] generator: Allow actions to be deprecated with no replacement.
...pr " * @deprecated In new code, use {@link #%s} instead\n" alt
> + | { deprecated_by = Deprecated_no_replacement } ->
> + pr " * @deprecated\n"
> );
Ditto.
> diff --git a/generator/ruby.ml b/generator/ruby.ml
> index c938bc9..594036d 100644
> --- a/generator/ruby.ml
> +++ b/generator/ruby.ml
> @@ -146,9 +146,12 @@ and generate_ruby_c actions () =
> | Some version -> doc ^ (sprintf "\n *\n * [Since] Added in version %s." version) in
> let doc =
> match f with
> -...
2017 Mar 03
2
[PATCH] generator: Allow actions to be deprecated with no replacement.
...| { deprecated_by = Replaced_by _ | Deprecated_no_replacement } ->
+ true in
generate_java_prototype ~public:true ~semicolon:false ~deprecated f.name f.style;
pr "\n";
pr " {\n";
diff --git a/generator/ruby.ml b/generator/ruby.ml
index c938bc9..594036d 100644
--- a/generator/ruby.ml
+++ b/generator/ruby.ml
@@ -146,9 +146,12 @@ and generate_ruby_c actions () =
| Some version -> doc ^ (sprintf "\n *\n * [Since] Added in version %s." version) in
let doc =
match f with
- | { deprecated_by = None }...