Generate proper visibility for companion object instance field in LV1.3+
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// LANGUAGE_VERSION: 1.2
|
||||
|
||||
class TestPrivateCompanion {
|
||||
private companion object Test
|
||||
}
|
||||
|
||||
open class TestProtectedCompanion {
|
||||
protected companion object Test
|
||||
}
|
||||
|
||||
class TestInternalCompanion {
|
||||
internal companion object Test
|
||||
}
|
||||
Reference in New Issue
Block a user