What you can do is have a method like this: `inlin...
# announcements
k
What you can do is have a method like this:
inline fun <T : Any> create(constructor: () -> T): T = constructor()
and then you can use it like this:
create(::MyClass)
.