Skip to content

Commit 794e04d

Browse files
committed
Promote failing tests
1 parent 6f76550 commit 794e04d

File tree

5 files changed

+63
-63
lines changed

5 files changed

+63
-63
lines changed

tests/test-dirs/function-recovery.t

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"value": "[
1111
structure_item (test.ml[1,0+0]..test.ml[3,104+28])
1212
Tstr_module
13-
ERROR_locate_from_inside_function_literal_used_as_non_function/282
13+
ERROR_locate_from_inside_function_literal_used_as_non_function/283
1414
module_expr (test.ml[1,0+72]..test.ml[3,104+28])
1515
Tmod_structure
1616
[
@@ -19,7 +19,7 @@
1919
[
2020
<def>
2121
pattern (test.ml[2,79+6]..test.ml[2,79+13])
22-
Tpat_var \"problem/280\"
22+
Tpat_var \"problem/281\"
2323
value_mode meet(local,once,nonportable,yielding,stateful)(modevar#0[global,many,portable,unyielding,stateless .. global,many,nonportable,unyielding,stateful]);imply(unique,uncontended,read_write)(modevar#1[aliased,contended,immutable .. unique,uncontended,read_write])
2424
expression (test.ml[2,79+16]..test.ml[2,79+24])
2525
Texp_variant \"Problem\"
@@ -48,7 +48,7 @@
4848
expression (_none_[0,0+-1]..[0,0+-1]) ghost
4949
Pexp_constant PConst_int (1,None)
5050
]
51-
Texp_ident \"*type-error*/281\"
51+
Texp_ident \"*type-error*/282\"
5252
]
5353
]
5454
]
@@ -68,7 +68,7 @@
6868
[
6969
<def>
7070
pattern (type.ml[1,0+4]..type.ml[1,0+5])
71-
Tpat_var \"f/280\"
71+
Tpat_var \"f/281\"
7272
value_mode meet(local,once,nonportable,yielding,stateful)(modevar#0[global,many,portable,unyielding,stateless .. global,many,nonportable,unyielding,stateful]);imply(unique,uncontended,read_write)(modevar#1[aliased,contended,immutable .. unique,uncontended,read_write])
7373
expression (type.ml[1,0+8]..type.ml[1,0+61])
7474
extra
@@ -85,10 +85,10 @@
8585
Ttyp_constr \"list/11!\"
8686
[
8787
core_type (type.ml[1,0+28]..type.ml[1,0+29])
88-
Ttyp_constr \"t/282\"
88+
Ttyp_constr \"t/283\"
8989
[]
9090
]
91-
Tpat_var \"foo/283\"
91+
Tpat_var \"foo/284\"
9292
value_mode map_comonadic(local_to_regional)(modevar#4[global,many,portable,unyielding,stateless .. local,once,nonportable,yielding,stateful]);imply(unique,uncontended,read_write)(modevar#5[aliased,contended,immutable .. unique,uncontended,read_write])
9393
]
9494
Tfunction_body
@@ -100,7 +100,7 @@
100100
extra
101101
Tpat_extra_constraint
102102
core_type (type.ml[1,0+48]..type.ml[1,0+49])
103-
Ttyp_constr \"t/282\"
103+
Ttyp_constr \"t/283\"
104104
[]
105105
Tpat_any
106106
expression (type.ml[1,0+53]..type.ml[1,0+55])
@@ -113,7 +113,7 @@
113113
expression (_none_[0,0+-1]..[0,0+-1]) ghost
114114
Pexp_constant PConst_int (1,None)
115115
]
116-
Texp_ident \"*type-error*/284\"
116+
Texp_ident \"*type-error*/285\"
117117
]
118118
expression (type.ml[1,0+59]..type.ml[1,0+61])
119119
attribute \"merlin.loc\"
@@ -192,7 +192,7 @@
192192
"ghost": false,
193193
"attrs": [],
194194
"kind": "pattern (test.ml[1,0+4]..test.ml[1,0+5])
195-
Tpat_var \"f/280\"
195+
Tpat_var \"f/281\"
196196
value_mode meet(local,once,nonportable,yielding,stateful)(modevar#0[global,many,portable,unyielding,stateless .. global,many,nonportable,unyielding,stateful]);imply(unique,uncontended,read_write)(modevar#1[aliased,contended,immutable .. unique,uncontended,read_write])
197197
",
198198
"children": []
@@ -224,7 +224,7 @@
224224
"ghost": false,
225225
"attrs": [],
226226
"kind": "pattern (test.ml[1,0+6]..test.ml[1,0+9])
227-
Tpat_var \"x/282\"
227+
Tpat_var \"x/283\"
228228
value_mode map_comonadic(local_to_regional)(modevar#4[global,many,portable,unyielding,stateless .. local,once,nonportable,yielding,stateful]);imply(unique,uncontended,read_write)(modevar#5[aliased,contended,immutable .. unique,uncontended,read_write])
229229
",
230230
"children": []
@@ -455,7 +455,7 @@
455455
Tpat_construct \"Some\"
456456
[
457457
pattern (test.ml[4,57+9]..test.ml[4,57+12])
458-
Tpat_var \"_aa/283\"
458+
Tpat_var \"_aa/284\"
459459
value_mode global,many,portable,unyielding,stateless;unique,uncontended,read_write
460460
]
461461
None
@@ -474,7 +474,7 @@
474474
"ghost": false,
475475
"attrs": [],
476476
"kind": "pattern (test.ml[4,57+9]..test.ml[4,57+12])
477-
Tpat_var \"_aa/283\"
477+
Tpat_var \"_aa/284\"
478478
value_mode global,many,portable,unyielding,stateless;unique,uncontended,read_write
479479
",
480480
"children": []

tests/test-dirs/parameters.t/run.t

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,10 @@ Check that we understand everything about [Basic[P:P_int].create]:
398398
}
399399
}
400400
{
401-
"file": "$TESTCASE_ROOT/basic.ml",
401+
"file": "$TESTCASE_ROOT/basic.mli",
402402
"pos": {
403-
"line": 3,
404-
"col": 4
403+
"line": 7,
404+
"col": 0
405405
}
406406
}
407407

@@ -426,10 +426,10 @@ syntax, so this output isn't ideal:
426426
}
427427
}
428428
{
429-
"file": "$TESTCASE_ROOT/fancy.ml",
429+
"file": "$TESTCASE_ROOT/fancy.mli",
430430
"pos": {
431-
"line": 3,
432-
"col": 4
431+
"line": 4,
432+
"col": 0
433433
}
434434
}
435435

@@ -455,10 +455,10 @@ implementing .mli.)
455455
}
456456
}
457457
{
458-
"file": "$TESTCASE_ROOT/p_int.ml",
458+
"file": "$TESTCASE_ROOT/p_int.mli",
459459
"pos": {
460460
"line": 3,
461-
"col": 4
461+
"col": 0
462462
}
463463
}
464464

tests/test-dirs/server-tests/typer-cache/stamps.t/run.t

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,31 @@ buffers, and different runs for the same buffer:
88
$ echo "let f x = x" | \
99
> $MERLIN server dump -what browse -filename test.ml | \
1010
> sed 's:\\n:\n:g' | grep Tpat_var
11-
Tpat_var \"f/280\"
12-
Tpat_var \"x/282\"
11+
Tpat_var \"f/281\"
12+
Tpat_var \"x/283\"
1313
1414
$ echo "let f x = let () = () in x" | \
1515
> $MERLIN server dump -what browse -filename test.ml | \
1616
> sed 's:\\n:\n:g' | grep Tpat_var
17-
Tpat_var \"f/283\"
18-
Tpat_var \"x/285\"
17+
Tpat_var \"f/284\"
18+
Tpat_var \"x/286\"
1919
2020
$ echo "let f x = x" | \
2121
> $MERLIN server dump -what browse -filename other_test.ml | \
2222
> sed 's:\\n:\n:g' | grep Tpat_var
23-
Tpat_var \"f/280\"
24-
Tpat_var \"x/282\"
23+
Tpat_var \"f/281\"
24+
Tpat_var \"x/283\"
2525
2626
$ echo "let f x = let () = () in x" | \
2727
> $MERLIN server dump -what browse -filename test.ml | \
2828
> sed 's:\\n:\n:g' | grep Tpat_var
29-
Tpat_var \"f/283\"
30-
Tpat_var \"x/285\"
29+
Tpat_var \"f/284\"
30+
Tpat_var \"x/286\"
3131
3232
$ echo "let f x = x" | \
3333
> $MERLIN server dump -what browse -filename test.ml | \
3434
> sed 's:\\n:\n:g' | grep Tpat_var
35-
Tpat_var \"f/286\"
36-
Tpat_var \"x/288\"
35+
Tpat_var \"f/287\"
36+
Tpat_var \"x/289\"
3737
3838
$ $MERLIN server stop-server

tests/test-dirs/type-enclosing/underscore-ids.t

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ We try several places in the identifier to check the result stability
371371
[
372372
<def>
373373
pattern (under.ml[1,0+4]..under.ml[1,0+6])
374-
Tpat_var \"aa/280\"
374+
Tpat_var \"aa/281\"
375375
value_mode meet(local,once,nonportable,yielding,stateful)(modevar#0[global,many,portable,unyielding,stateless .. global,many,nonportable,unyielding,stateful]);imply(unique,uncontended,read_write)(modevar#1[aliased,contended,immutable .. unique,uncontended,read_write])
376376
expression (under.ml[1,0+9]..under.ml[1,0+12])
377377
Texp_constant Const_float 4.2
@@ -381,7 +381,7 @@ We try several places in the identifier to check the result stability
381381
[
382382
<def>
383383
pattern (under.ml[2,13+4]..under.ml[2,13+5])
384-
Tpat_var \"f/281\"
384+
Tpat_var \"f/282\"
385385
value_mode meet(local,once,nonportable,yielding,stateful)(modevar#5[global,many,portable,unyielding,stateless .. global,many,nonportable,unyielding,stateful]);imply(unique,uncontended,read_write)(modevar#6[aliased,contended,immutable .. unique,uncontended,read_write])
386386
expression (under.ml[2,13+6]..under.ml[5,70+17]) ghost
387387
Texp_function
@@ -390,7 +390,7 @@ We try several places in the identifier to check the result stability
390390
Nolabel
391391
Param_pat
392392
pattern (under.ml[2,13+6]..under.ml[2,13+9])
393-
Tpat_var \"x/283\"
393+
Tpat_var \"x/284\"
394394
value_mode map_comonadic(local_to_regional)(modevar#9[global,many,portable,unyielding,stateless .. local,once,nonportable,yielding,stateful]);imply(unique,uncontended,read_write)(modevar#a[aliased,contended,immutable .. unique,uncontended,read_write])
395395
]
396396
Tfunction_body
@@ -404,7 +404,7 @@ We try several places in the identifier to check the result stability
404404
expression (_none_[0,0+-1]..[0,0+-1]) ghost
405405
Pexp_constant PConst_int (1,None)
406406
]
407-
Texp_ident \"*type-error*/286\"
407+
Texp_ident \"*type-error*/287\"
408408
]
409409
]
410410

0 commit comments

Comments
 (0)