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 8 years ago committed by Facebook Github Bot 4
parent fe780cb6ff
commit 06cbdfa651

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

@ -23,9 +23,10 @@ type annotation =
| Present
(** Method signature with annotations. *)
type annotated_signature =
{ ret : Typ.item_annotation * Typ.t; (** Annotated return type. *)
params: (Mangled.t * Typ.item_annotation * Typ.t) list } (** Annotated parameters. *)
type annotated_signature = {
ret : Typ.item_annotation * Typ.t; (** Annotated return type. *)
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.
These wrappers have the same name as the original method, every type is Object, and the parameters

Loading…
Cancel
Save