Skip to content

Commit bf2558c

Browse files
committed
snapshot changes
1 parent 769ac67 commit bf2558c

File tree

4 files changed

+47141
-46995
lines changed

4 files changed

+47141
-46995
lines changed

lib/4.06.1/bsdep.ml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5954,6 +5954,10 @@ val check_deprecated_mutable_inclusion:
59545954
def:Location.t -> use:Location.t -> Location.t -> Parsetree.attributes ->
59555955
Parsetree.attributes -> string -> unit
59565956

5957+
val check_bs_attributes_inclusion:
5958+
(Parsetree.attributes ->
5959+
Parsetree.attributes -> string -> (string*string) option ) ref
5960+
59575961
val error_of_extension: Parsetree.extension -> Location.error
59585962

59595963
val warning_attribute: ?ppwarning:bool -> Parsetree.attribute -> unit
@@ -6094,6 +6098,11 @@ let check_deprecated_mutable_inclusion ~def ~use loc attrs1 attrs2 s =
60946098
Location.deprecated ~def ~use loc
60956099
(Printf.sprintf "mutating field %s" (cat s txt))
60966100

6101+
let check_bs_attributes_inclusion =
6102+
ref (fun _attrs1 _attrs2 _s ->
6103+
None
6104+
)
6105+
60976106
let rec deprecated_of_sig = function
60986107
| {psig_desc = Psig_attribute a} :: tl ->
60996108
begin match deprecated_of_attrs [a] with

lib/4.06.1/unstable/bspack.ml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6026,6 +6026,10 @@ val check_deprecated_mutable_inclusion:
60266026
def:Location.t -> use:Location.t -> Location.t -> Parsetree.attributes ->
60276027
Parsetree.attributes -> string -> unit
60286028

6029+
val check_bs_attributes_inclusion:
6030+
(Parsetree.attributes ->
6031+
Parsetree.attributes -> string -> (string*string) option ) ref
6032+
60296033
val error_of_extension: Parsetree.extension -> Location.error
60306034

60316035
val warning_attribute: ?ppwarning:bool -> Parsetree.attribute -> unit
@@ -6166,6 +6170,11 @@ let check_deprecated_mutable_inclusion ~def ~use loc attrs1 attrs2 s =
61666170
Location.deprecated ~def ~use loc
61676171
(Printf.sprintf "mutating field %s" (cat s txt))
61686172

6173+
let check_bs_attributes_inclusion =
6174+
ref (fun _attrs1 _attrs2 _s ->
6175+
None
6176+
)
6177+
61696178
let rec deprecated_of_sig = function
61706179
| {psig_desc = Psig_attribute a} :: tl ->
61716180
begin match deprecated_of_attrs [a] with

0 commit comments

Comments
 (0)