@@ -17769,7 +17769,7 @@ module Ast_compatible : sig
17769
17769
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *)
17770
17770
17771
17771
17772
- type poly_var_label = Asttypes.label Asttypes.loc
17772
+
17773
17773
17774
17774
17775
17775
@@ -17779,7 +17779,7 @@ type poly_var_label = Asttypes.label Asttypes.loc
17779
17779
17780
17780
type loc = Location.t
17781
17781
type attrs = Parsetree.attribute list
17782
- type hash_label = string
17782
+
17783
17783
open Parsetree
17784
17784
17785
17785
@@ -17796,20 +17796,13 @@ val const_exp_int:
17796
17796
int ->
17797
17797
expression
17798
17798
17799
- val const_hash_label :
17800
- ?loc:Location.t ->
17801
- ?attrs:attrs ->
17802
- string ->
17803
- expression
17804
17799
17805
17800
17806
17801
val const_exp_int_list_as_array:
17807
17802
int list ->
17808
17803
expression
17809
17804
17810
- (* val const_exp_string_list_as_array:
17811
- string list ->
17812
- expression *)
17805
+
17813
17806
17814
17807
17815
17808
val apply_simple:
@@ -17896,12 +17889,6 @@ val opt_arrow:
17896
17889
core_type ->
17897
17890
core_type
17898
17891
17899
- val object_:
17900
- ?loc:loc ->
17901
- ?attrs:attrs ->
17902
- (string Asttypes.loc * attributes * core_type) list ->
17903
- Asttypes.closed_flag ->
17904
- core_type
17905
17892
17906
17893
17907
17894
(* val nonrec_type_str:
@@ -17979,7 +17966,6 @@ open Parsetree
17979
17966
let default_loc = Location.none
17980
17967
17981
17968
17982
- type poly_var_label = Asttypes.label Asttypes.loc
17983
17969
17984
17970
17985
17971
@@ -17988,8 +17974,9 @@ type poly_var_label = Asttypes.label Asttypes.loc
17988
17974
17989
17975
17990
17976
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
17993
17980
17994
17981
let apply_simple
17995
17982
?(loc = default_loc)
@@ -18056,21 +18043,6 @@ let fun_
18056
18043
pexp_desc = Pexp_fun(Nolabel,None, pat, exp)
18057
18044
}
18058
18045
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
18074
18046
18075
18047
18076
18048
let const_exp_string
@@ -18084,15 +18056,7 @@ let const_exp_string
18084
18056
pexp_desc = Pexp_constant(Pconst_string(s,delimiter))
18085
18057
}
18086
18058
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
+
18096
18060
18097
18061
let const_exp_int
18098
18062
?(loc = default_loc)
@@ -18116,19 +18080,6 @@ let apply_labels
18116
18080
fn,
18117
18081
Ext_list.map args (fun (l,a) -> Asttypes.Labelled l, a) ) }
18118
18082
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
- }
18132
18083
18133
18084
18134
18085
0 commit comments