We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
OXCAML
1 parent 82209ef commit 64c6162Copy full SHA for 64c6162
1 file changed
src/loader/cmt.ml
@@ -129,10 +129,14 @@ let read_value_binding env parent id_attrs vb =
129
let read_value_bindings env parent vbs =
130
let container = (parent : Identifier.Signature.t :> Identifier.LabelParent.t) in
131
let id_attrs =
132
+#if defined OXCAML
133
vbs |> let_bound_idents_with_modes_sorts_and_checks |> List.fold_left (fun tbl (ident, _, zero_alloc) ->
134
match Doc_attr.lang_value_attr_of_zero_alloc zero_alloc with
135
| None -> tbl
136
| Some attr -> Ident.add ident [attr] tbl) Ident.empty
137
+#else
138
+ Ident.empty
139
+#endif
140
in
141
let lookup_attr_by_id id =
142
match Ident.find_same id id_attrs with
0 commit comments