Fix test data OverridenSetterVisibility.kt
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
// FIR_IDENTICAL
|
||||
public interface ITest {
|
||||
public var prop : Int
|
||||
get() = 12
|
||||
@@ -23,7 +22,7 @@ class Test: ATest(), ITest {
|
||||
|
||||
fun main() {
|
||||
val test = Test()
|
||||
test.prop = 12
|
||||
<!INVISIBLE_SETTER!>test.prop<!> = 12
|
||||
|
||||
val itest: ITest = test
|
||||
itest.prop = 12 // No error here
|
||||
|
||||
Reference in New Issue
Block a user