@@ -1221,3 +1221,82 @@ test.kt:
12211221# 173| 5: [BlockStmt] { ... }
12221222# 173| 0: [ReturnStmt] return ...
12231223# 173| 0: [VarAccess] t
1224+ # 177| 17: [Class] TestOverloadsWithDefaults
1225+ # 177| 1: [Constructor] TestOverloadsWithDefaults
1226+ # 177| 5: [BlockStmt] { ... }
1227+ # 177| 0: [SuperConstructorInvocationStmt] super(...)
1228+ # 177| 1: [BlockStmt] { ... }
1229+ # 179| 2: [Method] f
1230+ # 179| 3: [TypeAccess] Unit
1231+ #-----| 4: (Parameters)
1232+ # 179| 0: [Parameter] x
1233+ # 179| 0: [TypeAccess] int
1234+ # 179| 1: [Parameter] y
1235+ # 179| 0: [TypeAccess] String
1236+ # 179| 5: [BlockStmt] { ... }
1237+ # 179| 3: [Method] f$default
1238+ # 179| 3: [TypeAccess] Unit
1239+ #-----| 4: (Parameters)
1240+ # 179| 0: [Parameter] p0
1241+ # 179| 0: [TypeAccess] TestOverloadsWithDefaults
1242+ # 179| 1: [Parameter] p1
1243+ # 179| 0: [TypeAccess] int
1244+ # 179| 2: [Parameter] p2
1245+ # 179| 0: [TypeAccess] String
1246+ # 179| 3: [Parameter] p3
1247+ # 179| 0: [TypeAccess] int
1248+ # 179| 4: [Parameter] p4
1249+ # 179| 0: [TypeAccess] Object
1250+ # 179| 5: [BlockStmt] { ... }
1251+ # 179| 0: [IfStmt] if (...)
1252+ # 179| 0: [EQExpr] ... == ...
1253+ # 179| 0: [AndBitwiseExpr] ... & ...
1254+ # 179| 0: [IntegerLiteral] 2
1255+ # 179| 1: [VarAccess] p3
1256+ # 179| 1: [IntegerLiteral] 0
1257+ # 179| 1: [ExprStmt] <Expr>;
1258+ # 179| 0: [AssignExpr] ...=...
1259+ # 179| 0: [VarAccess] p2
1260+ # 179| 1: [StringLiteral] Hello world
1261+ # 179| 1: [ReturnStmt] return ...
1262+ # 179| 0: [MethodAccess] f(...)
1263+ # 179| -1: [VarAccess] p0
1264+ # 179| 0: [VarAccess] p1
1265+ # 179| 1: [VarAccess] p2
1266+ # 180| 4: [Method] f
1267+ # 180| 3: [TypeAccess] Unit
1268+ #-----| 4: (Parameters)
1269+ # 180| 0: [Parameter] z
1270+ # 180| 0: [TypeAccess] String
1271+ # 180| 1: [Parameter] w
1272+ # 180| 0: [TypeAccess] int
1273+ # 180| 5: [BlockStmt] { ... }
1274+ # 180| 5: [Method] f$default
1275+ # 180| 3: [TypeAccess] Unit
1276+ #-----| 4: (Parameters)
1277+ # 180| 0: [Parameter] p0
1278+ # 180| 0: [TypeAccess] TestOverloadsWithDefaults
1279+ # 180| 1: [Parameter] p1
1280+ # 180| 0: [TypeAccess] String
1281+ # 180| 2: [Parameter] p2
1282+ # 180| 0: [TypeAccess] int
1283+ # 180| 3: [Parameter] p3
1284+ # 180| 0: [TypeAccess] int
1285+ # 180| 4: [Parameter] p4
1286+ # 180| 0: [TypeAccess] Object
1287+ # 180| 5: [BlockStmt] { ... }
1288+ # 180| 0: [IfStmt] if (...)
1289+ # 180| 0: [EQExpr] ... == ...
1290+ # 180| 0: [AndBitwiseExpr] ... & ...
1291+ # 180| 0: [IntegerLiteral] 2
1292+ # 180| 1: [VarAccess] p3
1293+ # 180| 1: [IntegerLiteral] 0
1294+ # 180| 1: [ExprStmt] <Expr>;
1295+ # 180| 0: [AssignExpr] ...=...
1296+ # 180| 0: [VarAccess] p2
1297+ # 180| 1: [IntegerLiteral] 0
1298+ # 180| 1: [ReturnStmt] return ...
1299+ # 180| 0: [MethodAccess] f(...)
1300+ # 180| -1: [VarAccess] p0
1301+ # 180| 0: [VarAccess] p1
1302+ # 180| 1: [VarAccess] p2
0 commit comments