Files
kotlin/compiler/testData/codegen/bytecodeListing/companionObjectVisibility_before.kt
Dmitry Petrov 4e92c79bc4 JVM_IR: don't generate nullability annotations on synthetic declarations
Fixes KT-36993 and some other related issues.
2020-06-23 20:51:48 +03:00

17 lines
353 B
Kotlin
Vendored

// !LANGUAGE: -ProperVisibilityForCompanionObjectInstanceField
open class TestProtectedCompanionInClass {
protected companion object
}
class TestInternalCompanionInClass {
internal companion object
}
class TestPrivateCompanionInClass {
private companion object
}
interface TestPrivateCompanionInInterface {
private companion object
}