Add test for KT-20007
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// "Implement members" "true"
|
||||
// ENABLE_MULTIPLATFORM
|
||||
// ERROR: Expected interface 'InterfaceWithVals' has no actual declaration in module light_idea_test_case for JVM
|
||||
|
||||
fun TODO(s: String): Nothing = null!!
|
||||
|
||||
expect interface InterfaceWithVals {
|
||||
fun funInInterface()
|
||||
|
||||
val importantVal: Int
|
||||
}
|
||||
|
||||
class ChildOfInterface : InterfaceWithVals{
|
||||
override fun funInInterface() {
|
||||
TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
|
||||
override val importantVal: Int
|
||||
get() = TODO("not implemented") //To change initializer of created properties use File | Settings | File Templates.
|
||||
}
|
||||
Reference in New Issue
Block a user