udalov
Class<T>
instance represents a class, not a type, so it's not enough to support as T
and is T
inside non-inline functions. For example, there's no way to encode if the type passed at the call site was nullable or not in the Class<T>
instance
https://kotlinlang.slack.com/archives/language-proposals/p1470350921000377