Skip to content

Commit b7511c4

Browse files
add more test
1 parent b0e0d61 commit b7511c4

17 files changed

+296
-0
lines changed

test/passing/refs.ahrefs/break_fun_decl-fit_or_vertical.ml.ref

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,21 @@ let new_specialised_args =
148148
:
149149
Flambda.specialised_to
150150
-> ())
151+
let new_specialised_args =
152+
Variable.Map.mapi
153+
~a:(fun
154+
new_inner_var______
155+
(definition : Definition.t)
156+
:
157+
Flambda.specialised_to
158+
-> ())
159+
foo
160+
161+
let new_specialised_args =
162+
Variable.Map.mapi
163+
~a:(fun
164+
new_inner_var______
165+
(definition : Definition.t)
166+
:
167+
Flambda.specialised_to
168+
-> ())

test/passing/refs.ahrefs/break_fun_decl-smart.ml.ref

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,21 @@ let new_specialised_args =
141141
:
142142
Flambda.specialised_to
143143
-> ())
144+
let new_specialised_args =
145+
Variable.Map.mapi
146+
~a:(fun
147+
new_inner_var______
148+
(definition : Definition.t)
149+
:
150+
Flambda.specialised_to
151+
-> ())
152+
foo
153+
154+
let new_specialised_args =
155+
Variable.Map.mapi
156+
~a:(fun
157+
new_inner_var______
158+
(definition : Definition.t)
159+
:
160+
Flambda.specialised_to
161+
-> ())

test/passing/refs.ahrefs/break_fun_decl-wrap.ml.ref

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,21 @@ let new_specialised_args =
122122
:
123123
Flambda.specialised_to
124124
-> ())
125+
let new_specialised_args =
126+
Variable.Map.mapi
127+
~a:(fun
128+
new_inner_var______
129+
(definition : Definition.t)
130+
:
131+
Flambda.specialised_to
132+
-> ())
133+
foo
134+
135+
let new_specialised_args =
136+
Variable.Map.mapi
137+
~a:(fun
138+
new_inner_var______
139+
(definition : Definition.t)
140+
:
141+
Flambda.specialised_to
142+
-> ())

test/passing/refs.ahrefs/break_fun_decl.ml.ref

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,21 @@ let new_specialised_args =
122122
:
123123
Flambda.specialised_to
124124
-> ())
125+
let new_specialised_args =
126+
Variable.Map.mapi
127+
~a:(fun
128+
new_inner_var______
129+
(definition : Definition.t)
130+
:
131+
Flambda.specialised_to
132+
-> ())
133+
foo
134+
135+
let new_specialised_args =
136+
Variable.Map.mapi
137+
~a:(fun
138+
new_inner_var______
139+
(definition : Definition.t)
140+
:
141+
Flambda.specialised_to
142+
-> ())

test/passing/refs.default/break_fun_decl-fit_or_vertical.ml.ref

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,22 @@ let new_specialised_args =
148148
:
149149
Flambda.specialised_to
150150
-> ())
151+
152+
let new_specialised_args =
153+
Variable.Map.mapi
154+
~a:(fun
155+
new_inner_var______
156+
(definition : Definition.t)
157+
:
158+
Flambda.specialised_to
159+
-> ())
160+
foo
161+
162+
let new_specialised_args =
163+
Variable.Map.mapi
164+
~a:(fun
165+
new_inner_var______
166+
(definition : Definition.t)
167+
:
168+
Flambda.specialised_to
169+
-> ())

test/passing/refs.default/break_fun_decl-smart.ml.ref

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,3 +141,22 @@ let new_specialised_args =
141141
:
142142
Flambda.specialised_to
143143
-> ())
144+
145+
let new_specialised_args =
146+
Variable.Map.mapi
147+
~a:(fun
148+
new_inner_var______
149+
(definition : Definition.t)
150+
:
151+
Flambda.specialised_to
152+
-> ())
153+
foo
154+
155+
let new_specialised_args =
156+
Variable.Map.mapi
157+
~a:(fun
158+
new_inner_var______
159+
(definition : Definition.t)
160+
:
161+
Flambda.specialised_to
162+
-> ())

test/passing/refs.default/break_fun_decl-wrap.ml.ref

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,22 @@ let new_specialised_args =
122122
:
123123
Flambda.specialised_to
124124
-> ())
125+
126+
let new_specialised_args =
127+
Variable.Map.mapi
128+
~a:(fun
129+
new_inner_var______
130+
(definition : Definition.t)
131+
:
132+
Flambda.specialised_to
133+
-> ())
134+
foo
135+
136+
let new_specialised_args =
137+
Variable.Map.mapi
138+
~a:(fun
139+
new_inner_var______
140+
(definition : Definition.t)
141+
:
142+
Flambda.specialised_to
143+
-> ())

test/passing/refs.default/break_fun_decl.ml.ref

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,22 @@ let new_specialised_args =
122122
:
123123
Flambda.specialised_to
124124
-> ())
125+
126+
let new_specialised_args =
127+
Variable.Map.mapi
128+
~a:(fun
129+
new_inner_var______
130+
(definition : Definition.t)
131+
:
132+
Flambda.specialised_to
133+
-> ())
134+
foo
135+
136+
let new_specialised_args =
137+
Variable.Map.mapi
138+
~a:(fun
139+
new_inner_var______
140+
(definition : Definition.t)
141+
:
142+
Flambda.specialised_to
143+
-> ())

test/passing/refs.janestreet/break_fun_decl-fit_or_vertical.ml.ref

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,16 @@ let new_specialised_args =
161161
Variable.Map.mapi
162162
(fun new_inner_var______ (definition : Definition.t) : Flambda.specialised_to -> ())
163163
;;
164+
165+
let new_specialised_args =
166+
Variable.Map.mapi
167+
~a:(fun new_inner_var______ (definition : Definition.t) : Flambda.specialised_to ->
168+
())
169+
foo
170+
;;
171+
172+
let new_specialised_args =
173+
Variable.Map.mapi
174+
~a:(fun new_inner_var______ (definition : Definition.t) : Flambda.specialised_to ->
175+
())
176+
;;

test/passing/refs.janestreet/break_fun_decl-smart.ml.ref

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,16 @@ let new_specialised_args =
148148
Variable.Map.mapi
149149
(fun new_inner_var______ (definition : Definition.t) : Flambda.specialised_to -> ())
150150
;;
151+
152+
let new_specialised_args =
153+
Variable.Map.mapi
154+
~a:(fun new_inner_var______ (definition : Definition.t) : Flambda.specialised_to ->
155+
())
156+
foo
157+
;;
158+
159+
let new_specialised_args =
160+
Variable.Map.mapi
161+
~a:(fun new_inner_var______ (definition : Definition.t) : Flambda.specialised_to ->
162+
())
163+
;;

0 commit comments

Comments
 (0)