Fix calls to static methods defined in association with local functions

These are a bit weird since they involve static calls to unnamed synthetic class members, but while unwriteable as Java they ought to work as a database description.
This commit is contained in:
Chris Smowton
2022-10-05 15:21:25 +01:00
parent b79d273de4
commit bec948682d
2 changed files with 3 additions and 5 deletions

View File

@@ -568,8 +568,7 @@ test.kt:
# 90| 5: [BlockStmt] { ... }
# 91| 0: [ExprStmt] <Expr>;
# 91| 0: [MethodAccess] f$default(...)
# 91| -1: [ClassInstanceExpr] new (...)
# 91| -3: [TypeAccess] Object
# 91| -1: [TypeAccess]
# 91| 0: [StringLiteral] local sunk
# 1| 1: [NullLiteral] null
# 1| 2: [NullLiteral] null
@@ -577,8 +576,7 @@ test.kt:
# 1| 4: [NullLiteral] null
# 92| 1: [ExprStmt] <Expr>;
# 92| 0: [MethodAccess] f$default(...)
# 92| -1: [ClassInstanceExpr] new (...)
# 92| -3: [TypeAccess] Object
# 92| -1: [TypeAccess]
# 92| 0: [StringLiteral] local sunk fp
# 92| 1: [StringLiteral] local sunk 2
# 1| 2: [NullLiteral] null