<@U25U0KPFT> Sorry I missed your question earlier,...
# tornadofx
r
@carlw Sorry I missed your question earlier, but Edvin is right. The JVM erases the generic type, so there's no way to check the type of list, only that it is a list. Some JVM languages have gotten around this by adding additional metadata in the bytecode, but Kotlin likely can't do it as it would probably break Java interop (Java code may not have the metadata, especially when working with 1.6 level bytecode).