Generate accessor for private companion object
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
class Outer {
|
||||
private companion object {
|
||||
val result = "OK"
|
||||
|
||||
fun bar() = result
|
||||
}
|
||||
|
||||
fun test() = bar()
|
||||
|
||||
}
|
||||
|
||||
// 0 access\$Companion
|
||||
// 1 INVOKEVIRTUAL Outer\$Companion\.bar
|
||||
// 1 INVOKEVIRTUAL Outer\$Companion\.getResult
|
||||
Reference in New Issue
Block a user