72dfca1698
Fix "cannot has", delete "in class ..." as it's already present in the message (function ... defined in class ...)
11 lines
169 B
Kotlin
Vendored
11 lines
169 B
Kotlin
Vendored
// !DIAGNOSTICS_NUMBER: 1
|
|
// !DIAGNOSTICS: CANNOT_OVERRIDE_INVISIBLE_MEMBER
|
|
|
|
open class A {
|
|
private open fun foo() {}
|
|
}
|
|
|
|
class B : A() {
|
|
override fun foo() {}
|
|
}
|