JVM_IR: restore InnerClasses for objects in lambdas
This commit is contained in:
@@ -14,6 +14,7 @@ public final class _2Kt$complicatedCast$1$1 {
|
||||
|
||||
@kotlin.Metadata
|
||||
public final class _2Kt {
|
||||
inner class _2Kt$complicatedCast$1$1
|
||||
public final static @org.jetbrains.annotations.NotNull method box(): java.lang.String
|
||||
public synthetic final static method complicatedCast(@org.jetbrains.annotations.Nullable p0: java.lang.Object): java.lang.Object
|
||||
}
|
||||
|
||||
+3
-3
@@ -17,9 +17,8 @@ inline fun test(s: () -> Unit) {
|
||||
s()
|
||||
}
|
||||
|
||||
// 4 INNERCLASS
|
||||
|
||||
// JVM_TEMPLATES
|
||||
// 4 INNERCLASS
|
||||
// 2 INNERCLASS Kt10259Kt\$box\$\$inlined\$test\$lambda\$1\s
|
||||
// 2 INNERCLASS Kt10259Kt\$box\$\$inlined\$test\$lambda\$1\$1
|
||||
|
||||
@@ -28,7 +27,8 @@ inline fun test(s: () -> Unit) {
|
||||
// this behavior is equivalent to javac and seems to be correct.
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 2 INNERCLASS Kt10259Kt\$box\$1\$1\s
|
||||
// 5 INNERCLASS
|
||||
// 3 INNERCLASS Kt10259Kt\$box\$1\$1\s
|
||||
// 2 INNERCLASS Kt10259Kt\$box\$1\$1\$1
|
||||
// 1 class Kt10259Kt\$box\$1\$1\ extends
|
||||
// 1 class Kt10259Kt\$box\$1\$1\$1 extends
|
||||
+3
-2
@@ -21,9 +21,9 @@ inline fun test(crossinline s: () -> Unit) {
|
||||
|
||||
// 2 INNERCLASS Kt10259_3Kt\$box\$\$inlined\$test\$1\s
|
||||
// 2 INNERCLASS Kt10259_3Kt\$box\$\$inlined\$test\$1\$1\s
|
||||
// 13 INNERCLASS
|
||||
|
||||
// JVM_TEMPLATES
|
||||
// 13 INNERCLASS
|
||||
// 3 INNERCLASS Kt10259_3Kt\$test\$1 null
|
||||
// 2 INNERCLASS Kt10259_3Kt\$test\$1\$1
|
||||
// inlined:
|
||||
@@ -38,7 +38,8 @@ inline fun test(crossinline s: () -> Unit) {
|
||||
// this behavior is equivalent to javac and seems to be correct.
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 2 INNERCLASS Kt10259_3Kt\$box\$1\$1\s
|
||||
// 14 INNERCLASS
|
||||
// 3 INNERCLASS Kt10259_3Kt\$box\$1\$1\s
|
||||
// 2 INNERCLASS Kt10259_3Kt\$box\$1\$1\$1\s
|
||||
// 3 INNERCLASS Kt10259_3Kt\$test\$1\s
|
||||
// 2 INNERCLASS Kt10259_3Kt\$test\$1\$1\s
|
||||
|
||||
Reference in New Issue
Block a user