File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ let addItem ~name ~extent ~stamp ~env ~item attributes exported stamps =
48
48
49
49
let rec forTypeSignatureItem ~env ~(exported : SharedTypes.exported )
50
50
(item : Types.signature_item ) =
51
- let open Types in
52
51
match item with
53
52
| Sig_value (ident , {val_type; val_attributes; val_loc = loc } ) ->
54
53
let item = val_type in
@@ -82,7 +81,9 @@ let rec forTypeSignatureItem ~env ~(exported : SharedTypes.exported)
82
81
Variant
83
82
(constructors
84
83
|> List. map
85
- (fun {cd_loc; cd_id; cd_args; cd_res; cd_attributes} ->
84
+ (fun
85
+ {Types. cd_loc; cd_id; cd_args; cd_res; cd_attributes}
86
+ ->
86
87
let name = Ident. name cd_id in
87
88
let stamp = Ident. binding_time cd_id in
88
89
let item =
@@ -115,7 +116,7 @@ let rec forTypeSignatureItem ~env ~(exported : SharedTypes.exported)
115
116
| Type_record (fields , _ ) ->
116
117
Record
117
118
(fields
118
- |> List. map (fun {ld_id; ld_type} ->
119
+ |> List. map (fun {Types. ld_id; ld_type} ->
119
120
let astamp = Ident. binding_time ld_id in
120
121
let name = Ident. name ld_id in
121
122
{
You can’t perform that action at this time.
0 commit comments