Add quick fix for MANY_IMPL_MEMBER_NOT_IMPLEMENTED

#KT-17121 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-02-26 12:33:47 +09:00
committed by Yan Zhulanow
parent 21d6d50241
commit 8b8059acdd
5 changed files with 51 additions and 0 deletions
@@ -0,0 +1,14 @@
// "Implement members" "true"
// WITH_RUNTIME
// DISABLE-ERRORS
interface A {
fun foo() {}
fun bar() {}
}
open class B {
open fun foo() {}
open fun bar() {}
}
class<caret> C : A, B()
@@ -0,0 +1,30 @@
// "Implement members" "true"
// WITH_RUNTIME
// DISABLE-ERRORS
interface A {
fun foo() {}
fun bar() {}
}
open class B {
open fun foo() {}
open fun bar() {}
}
class C : A, B() {
override fun foo() {
TODO("Not yet implemented")
}
override fun foo() {
TODO("Not yet implemented")
}
override fun bar() {
TODO("Not yet implemented")
}
override fun bar() {
TODO("Not yet implemented")
}
}