KT-16077 Redundant private getter for private var in a class within a JvmMultifileClass annotated file
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// IGNORE_BACKEND: JS
|
||||
// WITH_RUNTIME
|
||||
|
||||
@file:JvmMultifileClass
|
||||
|
||||
class A {
|
||||
private var r: String = "fail"
|
||||
public fun getR(): String = "OK"
|
||||
}
|
||||
|
||||
fun box() = A().getR()
|
||||
Reference in New Issue
Block a user