Cosmetic changes to improve Reason conversion

Summary: Changes for comment syntax and attachment.

Reviewed By: cristianoc

Differential Revision: D3647042

fbshipit-source-id: a540c0d
master
Josh Berdine 9 years ago committed by Facebook Github Bot 4
parent fe780cb6ff
commit 06cbdfa651

@ -15,9 +15,10 @@ module L = Logging
(** Annotations. *) (** Annotations. *)
(** Method signature with annotations. *) (** Method signature with annotations. *)
type annotated_signature = type annotated_signature = {
{ ret : Typ.item_annotation * Typ.t; (** Annotated return type. *) ret : Typ.item_annotation * Typ.t; (** Annotated return type. *)
params: (Mangled.t * Typ.item_annotation * Typ.t) list } (** Annotated parameters. *) params: (Mangled.t * Typ.item_annotation * Typ.t) list (** Annotated parameters. *)
}
let param_equal (s1, ia1, t1) (s2, ia2, t2) = let param_equal (s1, ia1, t1) (s2, ia2, t2) =
Mangled.equal s1 s2 && Mangled.equal s1 s2 &&

@ -23,9 +23,10 @@ type annotation =
| Present | Present
(** Method signature with annotations. *) (** Method signature with annotations. *)
type annotated_signature = type annotated_signature = {
{ ret : Typ.item_annotation * Typ.t; (** Annotated return type. *) ret : Typ.item_annotation * Typ.t; (** Annotated return type. *)
params: (Mangled.t * Typ.item_annotation * Typ.t) list } (** Annotated parameters. *) params: (Mangled.t * Typ.item_annotation * Typ.t) list (** Annotated parameters. *)
}
(** Check if the annotated signature is for a wrapper of an anonymous inner class method. (** Check if the annotated signature is for a wrapper of an anonymous inner class method.
These wrappers have the same name as the original method, every type is Object, and the parameters These wrappers have the same name as the original method, every type is Object, and the parameters

Loading…
Cancel
Save