Skip to content

Commit de3b14a

Browse files
committed
snapshot
1 parent 31b48e7 commit de3b14a

File tree

5 files changed

+167
-404
lines changed

5 files changed

+167
-404
lines changed

lib/4.06.1/unstable/all_ounit_tests.ml

Lines changed: 7 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -17769,7 +17769,7 @@ module Ast_compatible : sig
1776917769
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
1777017770

1777117771

17772-
type poly_var_label = Asttypes.label Asttypes.loc
17772+
1777317773

1777417774

1777517775

@@ -17779,7 +17779,7 @@ type poly_var_label = Asttypes.label Asttypes.loc
1777917779

1778017780
type loc = Location.t
1778117781
type attrs = Parsetree.attribute list
17782-
type hash_label = string
17782+
1778317783
open Parsetree
1778417784

1778517785

@@ -17796,20 +17796,13 @@ val const_exp_int:
1779617796
int ->
1779717797
expression
1779817798

17799-
val const_hash_label :
17800-
?loc:Location.t ->
17801-
?attrs:attrs ->
17802-
string ->
17803-
expression
1780417799

1780517800

1780617801
val const_exp_int_list_as_array:
1780717802
int list ->
1780817803
expression
1780917804

17810-
(* val const_exp_string_list_as_array:
17811-
string list ->
17812-
expression *)
17805+
1781317806

1781417807

1781517808
val apply_simple:
@@ -17896,12 +17889,6 @@ val opt_arrow:
1789617889
core_type ->
1789717890
core_type
1789817891

17899-
val object_:
17900-
?loc:loc ->
17901-
?attrs:attrs ->
17902-
(string Asttypes.loc * attributes * core_type) list ->
17903-
Asttypes.closed_flag ->
17904-
core_type
1790517892

1790617893

1790717894
(* val nonrec_type_str:
@@ -17979,7 +17966,6 @@ open Parsetree
1797917966
let default_loc = Location.none
1798017967

1798117968

17982-
type poly_var_label = Asttypes.label Asttypes.loc
1798317969

1798417970

1798517971

@@ -17988,8 +17974,9 @@ type poly_var_label = Asttypes.label Asttypes.loc
1798817974

1798917975

1799017976

17991-
let arrow ?(loc=default_loc) ?(attrs = []) a b =
17992-
Ast_helper.Typ.arrow ~loc ~attrs Nolabel a b
17977+
17978+
let arrow ?loc ?attrs a b =
17979+
Ast_helper.Typ.arrow ?loc ?attrs Nolabel a b
1799317980

1799417981
let apply_simple
1799517982
?(loc = default_loc)
@@ -18056,21 +18043,6 @@ let fun_
1805618043
pexp_desc = Pexp_fun(Nolabel,None, pat, exp)
1805718044
}
1805818045

18059-
(* let opt_label s =
18060-
Asttypes.Optional s *)
18061-
18062-
(* let label_fun
18063-
?(loc = default_loc)
18064-
?(attrs = [])
18065-
~label
18066-
pat
18067-
exp =
18068-
{
18069-
pexp_loc = loc;
18070-
pexp_attributes = attrs;
18071-
pexp_desc = Pexp_fun(label, None, pat, exp)
18072-
} *)
18073-
type hash_label = string
1807418046

1807518047

1807618048
let const_exp_string
@@ -18084,15 +18056,7 @@ let const_exp_string
1808418056
pexp_desc = Pexp_constant(Pconst_string(s,delimiter))
1808518057
}
1808618058

18087-
let const_hash_label
18088-
?(loc = default_loc)
18089-
?(attrs = [])
18090-
(s : hash_label) : expression =
18091-
{
18092-
pexp_loc = loc;
18093-
pexp_attributes = attrs;
18094-
pexp_desc = Pexp_constant(Pconst_string(s,None))
18095-
}
18059+
1809618060

1809718061
let const_exp_int
1809818062
?(loc = default_loc)
@@ -18116,19 +18080,6 @@ let apply_labels
1811618080
fn,
1811718081
Ext_list.map args (fun (l,a) -> Asttypes.Labelled l, a) ) }
1811818082

18119-
let object_
18120-
?(loc= default_loc)
18121-
?(attrs = [])
18122-
(fields : (Asttypes.label Asttypes.loc * attributes * core_type) list)
18123-
flg : core_type =
18124-
{
18125-
ptyp_desc =
18126-
Ptyp_object(
18127-
Ext_list.map fields (fun (a,b,c) ->
18128-
Parsetree.Otag (a,b,c)),flg);
18129-
ptyp_loc = loc;
18130-
ptyp_attributes = attrs
18131-
}
1813218083

1813318084

1813418085

0 commit comments

Comments
 (0)