Files
kotlin/idea/testData/quickfix/createFromUsage/createFunction/call/abstract/inBaseInterface.kt
Alexey Sedunov 84c6f9bf45 Create from Usage: Fix choosing superclass for abstract member
This applies to cases when non-existing member is called without
explicit receiver

 #KT-21332 Fixed
2017-11-30 12:49:25 +03:00

10 lines
239 B
Kotlin
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
class Foo : I {
fun foo() {
<caret>bar()
}
}