mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-16 08:31:35 +00:00
This applies to cases when non-existing member is called without explicit receiver #KT-21332 Fixed
10 lines
257 B
Kotlin
Vendored
10 lines
257 B
Kotlin
Vendored
// "Create abstract function 'bar'" "true"
|
|
// ERROR: Class 'Foo' is not abstract and does not implement abstract base class member public abstract fun bar(): Unit defined in A
|
|
|
|
abstract class A
|
|
|
|
class Foo : A() {
|
|
fun foo() {
|
|
<caret>bar()
|
|
}
|
|
} |