--- ``` class Foo<A> { val someKlazz = fo...
# language-proposals
m
---
Copy code
class Foo<A> {
   val someKlazz = fooTC<A>() //works anddoes not requires to be inside an `inline reified` context.
}
Will this really work? Where does the
KClass
instance for
A
come from? Would Kotlin prevent
Foo
from being instantiated from Java, which does not provide any info about
A
(afaik)?