Since JVM doesn’t support reified generics, maybe ...
# language-proposals
d
Since JVM doesn’t support reified generics, maybe Kotlin could allow implicit passing of
Class<T>
as an ‘invisible’ parameter just like
this
is passed. So that not only inline functions could contain
if (p is T)
,
p as T
etc