Marc Knaup
10/24/2017, 7:06 PMclass 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)?