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
@@ -5,6 +5,8 @@
open class A {
internal open fun foo() : Int = 1
internal open val bar: Int = 1
}
// MODULE: m2(m1)
@@ -12,4 +14,6 @@ open class A {
class B : A() {
fun foo() : String = "OK"
val bar: Int = 2
}