Add quick fix for MANY_IMPL_MEMBER_NOT_IMPLEMENTED
#KT-17121 Fixed
This commit is contained in:
committed by
Yan Zhulanow
parent
21d6d50241
commit
8b8059acdd
@@ -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")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user