@@ -96,11 +96,13 @@ let read_input_cmt is_interface cmt_file =
96
96
let check_annotation ~loc :_ attributes =
97
97
if
98
98
attributes
99
- |> Annotation. get_attribute_payload Annotation. tag_is_gentype_ignore_interface
99
+ |> Annotation. get_attribute_payload
100
+ Annotation. tag_is_gentype_ignore_interface
100
101
<> None
101
102
then ignore_interface := true ;
102
103
attributes
103
- |> Annotation. get_attribute_payload Annotation. tag_is_one_of_the_gentype_annotations
104
+ |> Annotation. get_attribute_payload
105
+ Annotation. tag_is_one_of_the_gentype_annotations
104
106
<> None
105
107
in
106
108
let has_gentype_annotations =
@@ -138,7 +140,9 @@ let process_cmt_file cmt =
138
140
if cmt_file <> " " then
139
141
let file_name = cmt |> Paths. get_module_name in
140
142
let is_interface = Filename. check_suffix cmt_file " .cmti" in
141
- let input_cmt, has_gentype_annotations = read_input_cmt is_interface cmt_file in
143
+ let input_cmt, has_gentype_annotations =
144
+ read_input_cmt is_interface cmt_file
145
+ in
142
146
let source_file =
143
147
match input_cmt.cmt_annots |> FindSourceFile. cmt with
144
148
| Some source_file -> source_file
@@ -150,7 +154,9 @@ let process_cmt_file cmt =
150
154
| false -> " .res" )
151
155
in
152
156
let output_file = source_file |> Paths. get_output_file ~config in
153
- let output_file_relative = source_file |> Paths. get_output_file_relative ~config in
157
+ let output_file_relative =
158
+ source_file |> Paths. get_output_file_relative ~config
159
+ in
154
160
let resolver =
155
161
ModuleResolver. create_lazy_resolver ~config
156
162
~extensions: [" .res" ; " .shim.ts" ] ~exclude_file: (fun fname ->
0 commit comments