mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-18 08:31:38 +00:00
JVM IR: Use package visibility for fields of captured variables
This commit is contained in:
committed by
Alexander Udalov
parent
443269af0a
commit
02e78bcd76
@@ -19,4 +19,4 @@ fun test() {
|
||||
// 1 final synthetic LReceiver; \$this_useExtensionLambda
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 private final synthetic LReceiver; \$this
|
||||
// 1 final synthetic LReceiver; \$this
|
||||
@@ -10,8 +10,4 @@ fun Receiver.bar() {
|
||||
}
|
||||
}
|
||||
|
||||
// JVM_TEMPLATES
|
||||
// 1 final synthetic LReceiver; \$this_bar
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 private final synthetic LReceiver; \$this_bar
|
||||
@@ -15,9 +15,7 @@ class Outer {
|
||||
fun outerFoo() {}
|
||||
}
|
||||
|
||||
// JVM_TEMPLATES
|
||||
// 1 final synthetic LOuter\$Inner; this\$0
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 private final synthetic LOuter\$Inner; this\$0
|
||||
// 1 private final synthetic LOuter; this\$1
|
||||
// 1 final synthetic LOuter; this\$1
|
||||
|
||||
@@ -19,4 +19,4 @@ fun test() {
|
||||
// 1 final synthetic LReceiver; \$this_label
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 private final synthetic LReceiver; \$this
|
||||
// 1 final synthetic LReceiver; \$this
|
||||
@@ -22,5 +22,5 @@ fun Foo.test(bar: Bar) {
|
||||
// 1 final synthetic LBar; \$this_test
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 private final synthetic LFoo; \$this_test
|
||||
// 1 private final synthetic LBar; \$this_test\$1
|
||||
// 1 final synthetic LFoo; \$this_test
|
||||
// 1 final synthetic LBar; \$this_test\$1
|
||||
@@ -16,4 +16,4 @@ class Outer {
|
||||
// 1 final synthetic LOuter\$Inner; this\$0
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 private final synthetic LOuter; this\$0
|
||||
// 2 final synthetic LOuter; this\$0
|
||||
|
||||
@@ -16,4 +16,4 @@ class Outer {
|
||||
// 1 final synthetic LOuter\$Inner; this\$0
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 private final synthetic LOuter; this\$0
|
||||
// 2 final synthetic LOuter; this\$0
|
||||
@@ -16,4 +16,4 @@ class Outer {
|
||||
// 1 final synthetic LOuter\$Inner; this\$0
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 private final synthetic LOuter; this\$0
|
||||
// 2 final synthetic LOuter; this\$0
|
||||
|
||||
@@ -10,8 +10,4 @@ class Host {
|
||||
fun foo() {}
|
||||
}
|
||||
|
||||
// JVM_TEMPLATES
|
||||
// 1 final synthetic LHost; this\$0
|
||||
|
||||
// JVM_IR_TEMPLATES
|
||||
// 1 private final synthetic LHost; this\$0
|
||||
Reference in New Issue
Block a user