K2: add more tests about false overrides

Related to KT-53197
This commit is contained in:
Mikhail Glukhikh
2022-09-20 11:23:21 +02:00
committed by Space
parent bcd7a531b9
commit de43877161
9 changed files with 157 additions and 0 deletions
@@ -12,6 +12,10 @@ open class A {
return 1
}
internal open val bar: Int
field = 1
internal open get
}
// MODULE: m2
@@ -28,4 +32,8 @@ class B : A {
return "OK"
}
val bar: Int
field = 2
get
}