@@ -206,6 +206,49 @@ reflection.kt:
206206# 103| 0: [Parameter] l
207207# 103| 1: [Parameter] l2
208208# 103| 5: [BlockStmt] { ... }
209+ # 121| 9: [Method] fn1
210+ # 121| 5: [BlockStmt] { ... }
211+ # 121| 0: [ReturnStmt] return ...
212+ # 121| 0: [IntegerLiteral] 5
213+ # 123| 10: [Method] fn2
214+ #-----| 4: (Parameters)
215+ # 123| 0: [Parameter] f
216+ # 123| 5: [BlockStmt] { ... }
217+ # 123| 0: [ReturnStmt] return ...
218+ # 123| 0: [MethodAccess] invoke(...)
219+ # 123| -1: [VarAccess] f
220+ # 125| 11: [Method] adapted
221+ # 125| 5: [BlockStmt] { ... }
222+ # 126| 0: [ExprStmt] <Expr>;
223+ # 126| 0: [MethodAccess] fn2(...)
224+ # 126| -1: [TypeAccess] ReflectionKt
225+ # 126| 0: [StmtExpr] <Stmt>
226+ # 126| 0: [BlockStmt] { ... }
227+ # 126| 0: [LocalTypeDeclStmt] class ...
228+ # 126| 0: [LocalClass]
229+ # 126| 1: [Constructor]
230+ # 126| 5: [BlockStmt] { ... }
231+ # 126| 0: [SuperConstructorInvocationStmt] super(...)
232+ # 126| 1: [Method] fn1
233+ # 126| 5: [BlockStmt] { ... }
234+ # 126| 0: [ExprStmt] <Expr>;
235+ # 126| 0: [ImplicitCoercionToUnitExpr] <implicit coercion to unit>
236+ # 126| 0: [TypeAccess] Unit
237+ # 126| 1: [MethodAccess] fn1(...)
238+ # 126| -1: [TypeAccess] ReflectionKt
239+ # 126| 1: [ExprStmt] <Expr>;
240+ # 126| 0: [MemberRefExpr] ...::...
241+ # 126| -4: [AnonymousClass] new Function0<Unit>(...) { ... }
242+ # 126| 1: [Constructor]
243+ # 126| 5: [BlockStmt] { ... }
244+ # 126| 0: [SuperConstructorInvocationStmt] super(...)
245+ # 126| 1: [Method] invoke
246+ # 126| 5: [BlockStmt] { ... }
247+ # 126| 0: [ReturnStmt] return ...
248+ # 126| 0: [MethodAccess] fn1(...)
249+ # 126| -1: [TypeAccess] ReflectionKt
250+ # 126| -3: [TypeAccess] Function0<Unit>
251+ # 126| 0: [TypeAccess] Unit
209252# 5| 2: [Class] Reflection
210253# 5| 1: [Constructor] Reflection
211254# 5| 5: [BlockStmt] { ... }
0 commit comments