KT-27936 Generate InnerClasses attributes
This commit is contained in:
committed by
teamcity
parent
4a8eec8166
commit
18e61315f4
+5
@@ -9,4 +9,9 @@ fun box(): String {
|
||||
return x
|
||||
}
|
||||
|
||||
// JVM_TEMPLATES
|
||||
// 0 ObjectRef
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 2 ObjectRef
|
||||
// 1 INNERCLASS kotlin.jvm.internal.Ref\$ObjectRef kotlin.jvm.internal.Ref ObjectRef
|
||||
Vendored
+7
-2
@@ -1,5 +1,10 @@
|
||||
fun f() = IntArray(1) { run { return@IntArray 1 } }
|
||||
|
||||
// On JVM_IR, the return is an assignment to a captured var followed by
|
||||
// a non-local `break` from a `do ... while (false)`. The var should be optimized.
|
||||
// JVM_TEMPLATES
|
||||
// 0 IntRef
|
||||
|
||||
// On JVM_IR, the return is an assignment to a captured var followed by
|
||||
// a non-local `break` from a `do ... while (false)`. The var should be optimized, but InnerClasses attribute will be added anyway.
|
||||
// JVM_IR_TEMPLATES
|
||||
// 2 IntRef
|
||||
// 1 INNERCLASS kotlin.jvm.internal.Ref\$IntRef kotlin.jvm.internal.Ref IntRef
|
||||
Reference in New Issue
Block a user