Yes but it will be `List<*>` at runtime, and...
# reflect
d
Yes but it will be
List<*>
at runtime, and although
List<Something>::class.java
is a compilation error to make it explicit, through the inline function it compiles, hiding the fact that the type will be erased to the user. I think it should be a compile error in both cases, unless there’s a limitation wrt to functions which would justify it (in which case at least a warning would be nice imo).