fa65081878
This reverts commit 9934cfbb00.
See the tests added: Subclass may have private same-name method that
should not be a reason to avoid generating fake overrides
10 lines
129 B
Kotlin
Vendored
10 lines
129 B
Kotlin
Vendored
interface A<T> {
|
|
fun foo(t: T): T = t
|
|
}
|
|
|
|
class B : A<String> {
|
|
private fun foo() {}
|
|
}
|
|
|
|
fun box(): String = B().foo("OK")
|