11 lines
330 B
Kotlin
Vendored
11 lines
330 B
Kotlin
Vendored
// "Change function signature..." "true"
|
|
// ERROR: <html>Class 'B' must be declared abstract or implement abstract member<br/><b>public</b> <b>abstract</b> <b>fun</b> f(a: kotlin.String): kotlin.Unit <i>defined in</i> A</html>
|
|
interface A {
|
|
fun f(a: Int)
|
|
fun f(a: String)
|
|
}
|
|
|
|
class B : A {
|
|
<caret>override fun f() {}
|
|
}
|