Skip to content

Commit 2b9f2a4

Browse files
committed
Accept changes
1 parent a3f9157 commit 2b9f2a4

File tree

1 file changed

+41
-24
lines changed

1 file changed

+41
-24
lines changed

tests/test-dirs/inlay-hint/samples.t

Lines changed: 41 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,22 @@ Pair arguments
9393
> EOF
9494
{
9595
"class": "return",
96-
"value": [],
96+
"value": [
97+
{
98+
"pos": {
99+
"line": 1,
100+
"col": 10
101+
},
102+
"label": "int"
103+
},
104+
{
105+
"pos": {
106+
"line": 1,
107+
"col": 8
108+
},
109+
"label": "int"
110+
}
111+
],
97112
"notifications": []
98113
}
99114

@@ -106,7 +121,22 @@ Record arguments
106121
> EOF
107122
{
108123
"class": "return",
109-
"value": [],
124+
"value": [
125+
{
126+
"pos": {
127+
"line": 2,
128+
"col": 12
129+
},
130+
"label": "int"
131+
},
132+
{
133+
"pos": {
134+
"line": 2,
135+
"col": 8
136+
},
137+
"label": "int"
138+
}
139+
],
110140
"notifications": []
111141
}
112142

@@ -209,13 +239,6 @@ Class-level let bindings without let hinting
209239
{
210240
"class": "return",
211241
"value": [
212-
{
213-
"pos": {
214-
"line": 1,
215-
"col": 17
216-
},
217-
"label": "int"
218-
},
219242
{
220243
"pos": {
221244
"line": 1,
@@ -277,7 +300,15 @@ Top-level let bindings with let hinting
277300
> EOF
278301
{
279302
"class": "return",
280-
"value": [],
303+
"value": [
304+
{
305+
"pos": {
306+
"line": 1,
307+
"col": 5
308+
},
309+
"label": "int"
310+
}
311+
],
281312
"notifications": []
282313
}
283314

@@ -291,26 +322,12 @@ Support for @merlin.hide
291322
{
292323
"class": "return",
293324
"value": [
294-
{
295-
"pos": {
296-
"line": 2,
297-
"col": 16
298-
},
299-
"label": "int"
300-
},
301325
{
302326
"pos": {
303327
"line": 2,
304328
"col": 7
305329
},
306330
"label": "int"
307-
},
308-
{
309-
"pos": {
310-
"line": 1,
311-
"col": 21
312-
},
313-
"label": "'a"
314331
}
315332
],
316333
"notifications": []

0 commit comments

Comments
 (0)