Intentions: 'Implement abstract member' (Kotlin -> Kotlin)

#KT-8467 In Progress
This commit is contained in:
Alexey Sedunov
2015-12-18 15:07:16 +03:00
parent 123b813073
commit 03641ffbee
51 changed files with 889 additions and 9 deletions
@@ -0,0 +1,17 @@
// IS_APPLICABLE: false
// ERROR: Class 'C' must be declared abstract or implement abstract base class member public abstract fun foo(): kotlin.Int defined in B
interface A {
fun <caret>foo(): Int
}
class X : A {
override fun foo() = 1
}
abstract class B : A {
abstract override fun foo(): Int
}
class C: B() {
}