@@ -35,6 +35,7 @@ let apply_simple ?(loc = default_loc) ?(attrs = []) (fn : expression)
3535 {
3636 pexp_loc = loc;
3737 pexp_attributes = attrs;
38+ pexp_is_return = false ;
3839 pexp_desc =
3940 Pexp_apply
4041 {
@@ -49,6 +50,7 @@ let app1 ?(loc = default_loc) ?(attrs = []) fn arg1 : expression =
4950 {
5051 pexp_loc = loc;
5152 pexp_attributes = attrs;
53+ pexp_is_return = false ;
5254 pexp_desc =
5355 Pexp_apply
5456 {
@@ -63,6 +65,7 @@ let app2 ?(loc = default_loc) ?(attrs = []) fn arg1 arg2 : expression =
6365 {
6466 pexp_loc = loc;
6567 pexp_attributes = attrs;
68+ pexp_is_return = false ;
6669 pexp_desc =
6770 Pexp_apply
6871 {
@@ -77,6 +80,7 @@ let app3 ?(loc = default_loc) ?(attrs = []) fn arg1 arg2 arg3 : expression =
7780 {
7881 pexp_loc = loc;
7982 pexp_attributes = attrs;
83+ pexp_is_return = false ;
8084 pexp_desc =
8185 Pexp_apply
8286 {
@@ -91,6 +95,7 @@ let fun_ ?(loc = default_loc) ?(attrs = []) ?(async = false) ~arity pat exp =
9195 {
9296 pexp_loc = loc;
9397 pexp_attributes = attrs;
98+ pexp_is_return = false ;
9499 pexp_desc =
95100 Pexp_fun
96101 {
@@ -108,13 +113,15 @@ let const_exp_string ?(loc = default_loc) ?(attrs = []) ?delimiter (s : string)
108113 {
109114 pexp_loc = loc;
110115 pexp_attributes = attrs;
116+ pexp_is_return = false ;
111117 pexp_desc = Pexp_constant (Pconst_string (s, delimiter));
112118 }
113119
114120let const_exp_int ?(loc = default_loc) ?(attrs = [] ) (s : int ) : expression =
115121 {
116122 pexp_loc = loc;
117123 pexp_attributes = attrs;
124+ pexp_is_return = false ;
118125 pexp_desc = Pexp_constant (Pconst_integer (string_of_int s, None ));
119126 }
120127
@@ -123,6 +130,7 @@ let apply_labels ?(loc = default_loc) ?(attrs = []) fn
123130 {
124131 pexp_loc = loc;
125132 pexp_attributes = attrs;
133+ pexp_is_return = false ;
126134 pexp_desc =
127135 Pexp_apply
128136 {
0 commit comments