@@ -30,30 +30,74 @@ test.kt:
30
30
# 4| -1: [VarAccess] mt
31
31
# 4| 0: [IntegerLiteral] 1
32
32
# 4| 1: [IntegerLiteral] 2
33
- # 7| 2: [ExtensionMethod] get
34
- # 7| 3: [TypeAccess] String
33
+ # 6| 3: [ExprStmt] <Expr>;
34
+ # 6| 0: [ImplicitCoercionToUnitExpr] <implicit coercion to unit>
35
+ # 6| 0: [TypeAccess] Unit
36
+ # 6| 1: [MethodAccess] set(...)
37
+ # 6| -1: [TypeAccess] TestKt
38
+ # 6| 0: [VarAccess] arr
39
+ # 6| 1: [IntegerLiteral] 1
40
+ # 6| 2: [IntegerLiteral] 2
41
+ # 6| 3: [IntegerLiteral] 3
42
+ # 7| 4: [ExprStmt] <Expr>;
43
+ # 7| 0: [ImplicitCoercionToUnitExpr] <implicit coercion to unit>
44
+ # 7| 0: [TypeAccess] Unit
45
+ # 7| 1: [MethodAccess] set(...)
46
+ # 7| -1: [TypeAccess] TestKt
47
+ # 7| 0: [VarAccess] arr
48
+ # 7| 1: [IntegerLiteral] 1
49
+ # 7| 2: [ClassInstanceExpr] new C(...)
50
+ # 7| -3: [TypeAccess] C
51
+ # 10| 2: [ExtensionMethod] get
52
+ # 10| 3: [TypeAccess] String
35
53
#-----| 4: (Parameters)
36
- # 7| 0: [Parameter] <this>
37
- # 7| 0: [TypeAccess] byte[]
38
- # 7| 1: [Parameter] i
39
- # 7| 0: [TypeAccess] int
40
- # 7| 2: [Parameter] j
41
- # 7| 0: [TypeAccess] int
42
- # 7| 5: [BlockStmt] { ... }
43
- # 7| 0: [ReturnStmt] return ...
44
- # 7| 0: [StringLiteral]
45
- # 10| 2: [Class] C
46
- # 10| 1: [Constructor] C
54
+ # 10| 0: [Parameter] <this>
55
+ # 10| 0: [TypeAccess] byte[]
56
+ # 10| 1: [Parameter] i
57
+ # 10| 0: [TypeAccess] int
58
+ # 10| 2: [Parameter] j
59
+ # 10| 0: [TypeAccess] int
47
60
# 10| 5: [BlockStmt] { ... }
48
- # 10| 0: [SuperConstructorInvocationStmt] super( ...)
49
- # 10| 1 : [BlockStmt] { ... }
50
- # 11| 2 : [Method] get
61
+ # 10| 0: [ReturnStmt] return ...
62
+ # 10| 0 : [StringLiteral]
63
+ # 11| 3 : [ExtensionMethod] set
51
64
# 11| 3: [TypeAccess] String
52
65
#-----| 4: (Parameters)
53
- # 11| 0: [Parameter] i
66
+ # 11| 0: [Parameter] <this>
67
+ # 11| 0: [TypeAccess] byte[]
68
+ # 11| 1: [Parameter] i
54
69
# 11| 0: [TypeAccess] int
55
- # 11| 1: [Parameter] j
70
+ # 11| 2: [Parameter] j
71
+ # 11| 0: [TypeAccess] int
72
+ # 11| 3: [Parameter] k
56
73
# 11| 0: [TypeAccess] int
57
74
# 11| 5: [BlockStmt] { ... }
58
75
# 11| 0: [ReturnStmt] return ...
59
76
# 11| 0: [StringLiteral]
77
+ # 12| 4: [ExtensionMethod] set
78
+ # 12| 3: [TypeAccess] String
79
+ #-----| 4: (Parameters)
80
+ # 12| 0: [Parameter] <this>
81
+ # 12| 0: [TypeAccess] byte[]
82
+ # 12| 1: [Parameter] i
83
+ # 12| 0: [TypeAccess] int
84
+ # 12| 2: [Parameter] c
85
+ # 12| 0: [TypeAccess] C
86
+ # 12| 5: [BlockStmt] { ... }
87
+ # 12| 0: [ReturnStmt] return ...
88
+ # 12| 0: [StringLiteral]
89
+ # 15| 2: [Class] C
90
+ # 15| 1: [Constructor] C
91
+ # 15| 5: [BlockStmt] { ... }
92
+ # 15| 0: [SuperConstructorInvocationStmt] super(...)
93
+ # 15| 1: [BlockStmt] { ... }
94
+ # 16| 2: [Method] get
95
+ # 16| 3: [TypeAccess] String
96
+ #-----| 4: (Parameters)
97
+ # 16| 0: [Parameter] i
98
+ # 16| 0: [TypeAccess] int
99
+ # 16| 1: [Parameter] j
100
+ # 16| 0: [TypeAccess] int
101
+ # 16| 5: [BlockStmt] { ... }
102
+ # 16| 0: [ReturnStmt] return ...
103
+ # 16| 0: [StringLiteral]
0 commit comments