Files
kotlin/compiler/testData/codegen/bytecodeText/noSyntheticAccessorForPrivateCompanionObjectWhenNotRequired.kt
2018-06-22 16:53:07 +03:00

14 lines
243 B
Kotlin
Vendored

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