FirOverrideChecker: don't report VIRTUAL_MEMBER_HIDDEN with invisible
#KT-53197 Fixed
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// MODULE: m1
|
||||
// FILE: A.kt
|
||||
|
||||
open class A {
|
||||
internal open fun foo() : Int = 1
|
||||
}
|
||||
|
||||
// MODULE: m2(m1)
|
||||
// FILE: B.kt
|
||||
|
||||
class B : A() {
|
||||
fun foo() : String = "OK"
|
||||
}
|
||||
|
||||
fun box() = B().foo()
|
||||
|
||||
Reference in New Issue
Block a user