84c6f9bf45
This applies to cases when non-existing member is called without explicit receiver #KT-21332 Fixed
12 lines
250 B
Plaintext
Vendored
12 lines
250 B
Plaintext
Vendored
// "Create abstract function 'bar'" "true"
|
|
// ERROR: Class 'Foo' is not abstract and does not implement abstract member public abstract fun bar(): Unit defined in I
|
|
|
|
interface I {
|
|
fun bar()
|
|
}
|
|
|
|
class Foo : I {
|
|
fun foo() {
|
|
bar()
|
|
}
|
|
} |