with inner interface inside it, how can I use this interface in an
actual
implementation?
Copy code
expect object MyObject {
fun foo(): MyInterface
interface MyInterface {
fun bar()
}
}
actual object MyObject {
actual fun foo(): MyObject.MyInterface = // MyInterface is unresolved here
TODO()
}
Arkadii Ivanov
01/15/2021, 5:32 PM
Looks like I have to add actual implementation of the interface as well.