File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ let input_cmi_lazy ic =
127
127
} = (input_value ic : header ) in
128
128
let crcs = (input_value ic : crcs ) in
129
129
let flags = (input_value ic : flags ) in
130
+ (* CR ocaml 5 compressed-marshal mshinwell: upstream uses [Compression] *)
130
131
{
131
132
cmi_name = name;
132
133
cmi_kind = kind;
@@ -183,19 +184,12 @@ let output_cmi filename oc cmi =
183
184
let len = Int64. sub val_pos data_pos in
184
185
output_int64 oc len;
185
186
Out_channel. seek oc val_pos;
186
- (* BACKPORT BEGIN *)
187
- (* CR ocaml 5 compressed-marshal mshinwell:
188
- upstream uses [Compression] here:
189
- Compression.output_value oc ((cmi.cmi_name, cmi.cmi_sign) : header);
190
-
191
- *)
192
187
output_value oc
193
188
{
194
189
header_name = cmi.cmi_name;
195
190
header_kind = cmi.cmi_kind;
196
191
header_sign = sign;
197
192
};
198
- (* BACKPORT END *)
199
193
flush oc;
200
194
let crc = Digest. file filename in
201
195
let my_info =
Original file line number Diff line number Diff line change @@ -242,9 +242,10 @@ let iter_on_occurrences
242
242
| Ttyp_class (path , lid , _typs ) ->
243
243
(* Deprecated syntax to extend a polymorphic variant *)
244
244
f ~namespace: Type ctyp_env path lid
245
+ | Ttyp_open (path , lid , _ct ) ->
246
+ f ~namespace: Module ctyp_env path lid
245
247
| Ttyp_var _ | Ttyp_arrow _ | Ttyp_tuple _ | Ttyp_object _
246
- | Ttyp_alias _ | Ttyp_variant _ | Ttyp_poly _
247
- | Ttyp_call_pos | Ttyp_open _ -> () );
248
+ | Ttyp_alias _ | Ttyp_variant _ | Ttyp_poly _ | Ttyp_call_pos -> () );
248
249
default_iterator.typ sub ct);
249
250
250
251
pat =
You can’t perform that action at this time.
0 commit comments