[FIR2IR] Don't generate Any delegated members for data class

#KT-42771 Fixed
This commit is contained in:
Mikhail Glukhikh
2020-10-19 14:04:29 +03:00
parent 44459e8ac7
commit f2c651ec9c
4 changed files with 322 additions and 2 deletions
+11 -1
View File
@@ -9,4 +9,14 @@ object Factory {
a: String,
f: Some
): String = "Omega"
}
}
interface Base
interface Delegate : Base {
fun bar()
}
interface Derived : Delegate
data class DataClass(val delegate: Delegate): Derived, Delegate by delegate