@@ -53,10 +53,10 @@ input.go:
53
53
# 20| 0: [CallExpr] call to Println
54
54
# 20| Type = (int, error)
55
55
# 20| 0: [FunctionName, SelectorExpr] selection of Println
56
- # 20| Type = func([] interface { }) int, error
56
+ # 20| Type = func(... interface { }) int, error
57
57
# 20| 0: [Ident, PackageName] fmt
58
58
# 20| 1: [FunctionName, Ident] Println
59
- # 20| Type = func([] interface { }) int, error
59
+ # 20| Type = func(... interface { }) int, error
60
60
# 20| 1: [StringLit] "Hi"
61
61
# 20| Type = string
62
62
# 20| Value = [StringLit] Hi
@@ -203,10 +203,10 @@ input.go:
203
203
# 52| 0: [CallExpr] call to Println
204
204
# 52| Type = (int, error)
205
205
# 52| 0: [FunctionName, SelectorExpr] selection of Println
206
- # 52| Type = func([] interface { }) int, error
206
+ # 52| Type = func(... interface { }) int, error
207
207
# 52| 0: [Ident, PackageName] fmt
208
208
# 52| 1: [FunctionName, Ident] Println
209
- # 52| Type = func([] interface { }) int, error
209
+ # 52| Type = func(... interface { }) int, error
210
210
# 52| 1: [StringLit] "Heard from ch1"
211
211
# 52| Type = string
212
212
# 52| Value = [StringLit] Heard from ch1
@@ -229,31 +229,31 @@ input.go:
229
229
# 54| 0: [CallExpr] call to Println
230
230
# 54| Type = (int, error)
231
231
# 54| 0: [FunctionName, SelectorExpr] selection of Println
232
- # 54| Type = func([] interface { }) int, error
232
+ # 54| Type = func(... interface { }) int, error
233
233
# 54| 0: [Ident, PackageName] fmt
234
234
# 54| 1: [FunctionName, Ident] Println
235
- # 54| Type = func([] interface { }) int, error
235
+ # 54| Type = func(... interface { }) int, error
236
236
# 54| 1: [Ident, VariableName] a
237
237
# 54| Type = [1]float32
238
238
# 55| 2: [ExprStmt] expression statement
239
239
# 55| 0: [CallExpr] call to Println
240
240
# 55| Type = (int, error)
241
241
# 55| 0: [FunctionName, SelectorExpr] selection of Println
242
- # 55| Type = func([] interface { }) int, error
242
+ # 55| Type = func(... interface { }) int, error
243
243
# 55| 0: [Ident, PackageName] fmt
244
244
# 55| 1: [FunctionName, Ident] Println
245
- # 55| Type = func([] interface { }) int, error
245
+ # 55| Type = func(... interface { }) int, error
246
246
# 55| 1: [Ident, VariableName] w
247
247
# 55| Type = bool
248
248
# 56| 2: [CommClause] comm clause
249
249
# 57| 0: [ExprStmt] expression statement
250
250
# 57| 0: [CallExpr] call to Println
251
251
# 57| Type = (int, error)
252
252
# 57| 0: [FunctionName, SelectorExpr] selection of Println
253
- # 57| Type = func([] interface { }) int, error
253
+ # 57| Type = func(... interface { }) int, error
254
254
# 57| 0: [Ident, PackageName] fmt
255
255
# 57| 1: [FunctionName, Ident] Println
256
- # 57| Type = func([] interface { }) int, error
256
+ # 57| Type = func(... interface { }) int, error
257
257
# 58| 3: [CommClause] comm clause
258
258
# 58| 0: [SendStmt] send statement
259
259
# 58| 0: [Ident, VariableName] ch1
@@ -297,10 +297,10 @@ input.go:
297
297
# 67| 0: [CallExpr] call to Println
298
298
# 67| Type = (int, error)
299
299
# 67| 0: [FunctionName, SelectorExpr] selection of Println
300
- # 67| Type = func([] interface { }) int, error
300
+ # 67| Type = func(... interface { }) int, error
301
301
# 67| 0: [Ident, PackageName] fmt
302
302
# 67| 1: [FunctionName, Ident] Println
303
- # 67| Type = func([] interface { }) int, error
303
+ # 67| Type = func(... interface { }) int, error
304
304
# 67| 1: [Ident, VariableName] x
305
305
# 67| Type = int
306
306
# 68| 2: [BlockStmt] block statement
@@ -316,10 +316,10 @@ input.go:
316
316
# 69| 0: [CallExpr] call to Println
317
317
# 69| Type = (int, error)
318
318
# 69| 0: [FunctionName, SelectorExpr] selection of Println
319
- # 69| Type = func([] interface { }) int, error
319
+ # 69| Type = func(... interface { }) int, error
320
320
# 69| 0: [Ident, PackageName] fmt
321
321
# 69| 1: [FunctionName, Ident] Println
322
- # 69| Type = func([] interface { }) int, error
322
+ # 69| Type = func(... interface { }) int, error
323
323
# 69| 1: [MinusExpr] -...
324
324
# 69| Type = int
325
325
# 69| 0: [Ident, VariableName] x
@@ -474,10 +474,10 @@ input.go:
474
474
# 115| 0: [CallExpr] call to Println
475
475
# 115| Type = (int, error)
476
476
# 115| 0: [FunctionName, SelectorExpr] selection of Println
477
- # 115| Type = func([] interface { }) int, error
477
+ # 115| Type = func(... interface { }) int, error
478
478
# 115| 0: [Ident, PackageName] fmt
479
479
# 115| 1: [FunctionName, Ident] Println
480
- # 115| Type = func([] interface { }) int, error
480
+ # 115| Type = func(... interface { }) int, error
481
481
# 115| 1: [Ident, VariableName] y
482
482
# 115| Type = interface { }
483
483
# 116| 1: [CaseClause] case clause
@@ -566,10 +566,10 @@ input.go:
566
566
# 138| 0: [CallExpr] call to Print
567
567
# 138| Type = (int, error)
568
568
# 138| 0: [FunctionName, SelectorExpr] selection of Print
569
- # 138| Type = func([] interface { }) int, error
569
+ # 138| Type = func(... interface { }) int, error
570
570
# 138| 0: [Ident, PackageName] fmt
571
571
# 138| 1: [FunctionName, Ident] Print
572
- # 138| Type = func([] interface { }) int, error
572
+ # 138| Type = func(... interface { }) int, error
573
573
# 138| 1: [Ident, VariableName] x
574
574
# 138| Type = int
575
575
# 141| 1: [RangeStmt] range statement
@@ -584,10 +584,10 @@ input.go:
584
584
# 142| 0: [CallExpr] call to Print
585
585
# 142| Type = (int, error)
586
586
# 142| 0: [FunctionName, SelectorExpr] selection of Print
587
- # 142| Type = func([] interface { }) int, error
587
+ # 142| Type = func(... interface { }) int, error
588
588
# 142| 0: [Ident, PackageName] fmt
589
589
# 142| 1: [FunctionName, Ident] Print
590
- # 142| Type = func([] interface { }) int, error
590
+ # 142| Type = func(... interface { }) int, error
591
591
# 142| 1: [Ident, VariableName] i
592
592
# 142| Type = int
593
593
# 142| 2: [Ident, VariableName] v
0 commit comments