Is it possible to call reified functions from Swift?
I wrote in KMP a reified function, that returns a class implementing the interface “ScreenState”.
Xcode doesn’t prompt me any error, but it crashes at runtime:
Daniele B
05/17/2021, 5:33 PM
message has been deleted
Daniele B
05/17/2021, 5:34 PM
The actual error says:
Copy code
Uncaught Kotlin exception: kotlin.IllegalStateException: unsupported call of reified inlined function StateProvider.get
Daniele B
05/17/2021, 5:35 PM
So, I am assuming reified functions are not supported in Swift?