@@ -21,7 +21,11 @@ import _ "os"
21
21
// bar is a function.
22
22
// With a multiline doc comment.
23
23
func bar() string {
24
+ /* This is a single line comment */
24
25
switch {<>}
26
+ /* This is a multiline<>
27
+
28
+ /* This is a multiline<>
25
29
_ = []int{<>}
26
30
_ = [2]string{<>}
27
31
_ = map[string]int{<>}
@@ -48,11 +52,20 @@ import _ "os"
48
52
// bar is a function.
49
53
// With a multiline doc comment.
50
54
func bar() string {
55
+ /* This is a single line comment */
51
56
switch {
52
57
case true:<>
53
58
case false:<>
54
59
default:<>
55
60
}
61
+ /* This is a multiline
62
+ block
63
+ comment */
64
+
65
+ /* This is a multiline
66
+ block
67
+ comment */
68
+ // Followed by another comment.
56
69
_ = []int{
57
70
1,
58
71
2,
@@ -102,6 +115,7 @@ import _ "os"
102
115
// bar is a function.
103
116
// With a multiline doc comment.
104
117
func bar() string {
118
+ /* This is a single line comment */
105
119
switch {
106
120
case true:
107
121
if true {<>} else {<>}
@@ -110,6 +124,14 @@ func bar() string {
110
124
default:
111
125
fmt.Println(<>)
112
126
}
127
+ /* This is a multiline
128
+ block
129
+ comment */
130
+
131
+ /* This is a multiline
132
+ block
133
+ comment */
134
+ // Followed by another comment.
113
135
_ = []int{
114
136
1,
115
137
2,
@@ -162,6 +184,7 @@ import _ "os"
162
184
// bar is a function.
163
185
// With a multiline doc comment.
164
186
func bar() string {
187
+ /* This is a single line comment */
165
188
switch {
166
189
case true:
167
190
if true {
@@ -174,6 +197,14 @@ func bar() string {
174
197
default:
175
198
fmt.Println("default")
176
199
}
200
+ /* This is a multiline
201
+ block
202
+ comment */
203
+
204
+ /* This is a multiline
205
+ block
206
+ comment */
207
+ // Followed by another comment.
177
208
_ = []int{
178
209
1,
179
210
2,
@@ -221,35 +252,37 @@ is not indented`
221
252
3:9-6:0
222
253
10:22-11:32
223
254
12:10-12:9
224
- 12:20-66:0
225
- 13:10-24:1
226
- 14:12-19:3
227
- 15:12-17:2
228
- 16:16-16:21
229
- 17:11-19:2
230
- 18:16-18:22
231
- 20:13-21:22
232
- 21:15-21:21
233
- 22:10-23:24
234
- 23:15-23:23
235
- 25:12-29:1
236
- 30:16-32:1
237
- 33:21-37:1
238
- 38:17-42:1
239
- 43:8-47:1
240
- 48:15-48:23
241
- 48:32-48:40
242
- 49:10-60:1
243
- 50:18-55:3
244
- 51:11-53:2
245
- 52:16-52:28
246
- 53:11-55:2
247
- 54:16-54:29
248
- 56:11-57:18
249
- 57:15-57:17
250
- 58:10-59:24
251
- 59:15-59:23
252
- 61:32-62:30
255
+ 12:20-75:0
256
+ 14:10-25:1
257
+ 15:12-20:3
258
+ 16:12-18:2
259
+ 17:16-17:21
260
+ 18:11-20:2
261
+ 19:16-19:22
262
+ 21:13-22:22
263
+ 22:15-22:21
264
+ 23:10-24:24
265
+ 24:15-24:23
266
+ 26:24-28:11
267
+ 30:24-33:32
268
+ 34:12-38:1
269
+ 39:16-41:1
270
+ 42:21-46:1
271
+ 47:17-51:1
272
+ 52:8-56:1
273
+ 57:15-57:23
274
+ 57:32-57:40
275
+ 58:10-69:1
276
+ 59:18-64:3
277
+ 60:11-62:2
278
+ 61:16-61:28
279
+ 62:11-64:2
280
+ 63:16-63:29
281
+ 65:11-66:18
282
+ 66:15-66:17
283
+ 67:10-68:24
284
+ 68:15-68:23
285
+ 70:32-71:30
253
286
254
287
-- foldingRange-comment-0 --
255
288
package folding //@fold("package")
@@ -263,6 +296,7 @@ import _ "os"
263
296
264
297
// bar is a function.<>
265
298
func bar() string {
299
+ /* This is a single line comment */
266
300
switch {
267
301
case true:
268
302
if true {
@@ -275,6 +309,9 @@ func bar() string {
275
309
default:
276
310
fmt.Println("default")
277
311
}
312
+ /* This is a multiline<>
313
+
314
+ /* This is a multiline<>
278
315
_ = []int{
279
316
1,
280
317
2,
@@ -327,6 +364,7 @@ import _ "os"
327
364
// bar is a function.
328
365
// With a multiline doc comment.
329
366
func bar() string {
367
+ /* This is a single line comment */
330
368
switch {
331
369
case true:
332
370
if true {
@@ -339,6 +377,14 @@ func bar() string {
339
377
default:
340
378
fmt.Println("default")
341
379
}
380
+ /* This is a multiline
381
+ block
382
+ comment */
383
+
384
+ /* This is a multiline
385
+ block
386
+ comment */
387
+ // Followed by another comment.
342
388
_ = []int{
343
389
1,
344
390
2,
@@ -407,8 +453,12 @@ import _ "os"
407
453
// bar is a function.
408
454
// With a multiline doc comment.
409
455
func bar() string {
456
+ /* This is a single line comment */
410
457
switch {<>
411
458
}
459
+ /* This is a multiline<>
460
+
461
+ /* This is a multiline<>
412
462
_ = []int{<>,
413
463
}
414
464
_ = [2]string{"d",
@@ -442,11 +492,20 @@ import _ "os"
442
492
// bar is a function.
443
493
// With a multiline doc comment.
444
494
func bar() string {
495
+ /* This is a single line comment */
445
496
switch {
446
497
case true:<>
447
498
case false:<>
448
499
default:<>
449
500
}
501
+ /* This is a multiline
502
+ block
503
+ comment */
504
+
505
+ /* This is a multiline
506
+ block
507
+ comment */
508
+ // Followed by another comment.
450
509
_ = []int{
451
510
1,
452
511
2,
@@ -496,6 +555,7 @@ import _ "os"
496
555
// bar is a function.
497
556
// With a multiline doc comment.
498
557
func bar() string {
558
+ /* This is a single line comment */
499
559
switch {
500
560
case true:
501
561
if true {<>
@@ -506,6 +566,14 @@ func bar() string {
506
566
default:
507
567
fmt.Println("default")
508
568
}
569
+ /* This is a multiline
570
+ block
571
+ comment */
572
+
573
+ /* This is a multiline
574
+ block
575
+ comment */
576
+ // Followed by another comment.
509
577
_ = []int{
510
578
1,
511
579
2,
@@ -559,6 +627,7 @@ import _ "os"
559
627
560
628
// bar is a function.<>
561
629
func bar() string {
630
+ /* This is a single line comment */
562
631
switch {
563
632
case true:
564
633
if true {
@@ -571,6 +640,9 @@ func bar() string {
571
640
default:
572
641
fmt.Println("default")
573
642
}
643
+ /* This is a multiline<>
644
+
645
+ /* This is a multiline<>
574
646
_ = []int{
575
647
1,
576
648
2,
@@ -624,6 +696,7 @@ import _ "os"
624
696
// bar is a function.
625
697
// With a multiline doc comment.
626
698
func bar() string {
699
+ /* This is a single line comment */
627
700
switch {
628
701
case true:
629
702
if true {
@@ -636,6 +709,14 @@ func bar() string {
636
709
default:
637
710
fmt.Println("default")
638
711
}
712
+ /* This is a multiline
713
+ block
714
+ comment */
715
+
716
+ /* This is a multiline
717
+ block
718
+ comment */
719
+ // Followed by another comment.
639
720
_ = []int{
640
721
1,
641
722
2,
0 commit comments