JVM IR: generate field for private companion object in interface as synthetic
This commit is contained in:
+1
-2
@@ -1,5 +1,4 @@
|
||||
// !LANGUAGE: +ProperVisibilityForCompanionObjectInstanceField
|
||||
// IGNORE_BACKEND: JVM_IR
|
||||
|
||||
open class TestProtectedCompanionInClass {
|
||||
protected companion object
|
||||
@@ -15,4 +14,4 @@ class TestPrivateCompanionInClass {
|
||||
|
||||
interface TestPrivateCompanionInInterface {
|
||||
private companion object
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user