Implement members: fix it works correctly for data class

#KT-36686 Fixed
This commit is contained in:
Toshiaki Kameyama
2020-02-22 10:20:33 +09:00
committed by Vladimir Dolzhenko
parent fe009ac695
commit 62e335ac88
8 changed files with 75 additions and 3 deletions
+12
View File
@@ -0,0 +1,12 @@
// "Implement members" "true"
// WITH_RUNTIME
interface I {
fun foo()
}
data class C(val i: Int) : I {
fun bar() {}
override fun foo() {
TODO("Not yet implemented")
}
}