fellshard
07/20/2016, 6:36 PMoverride fun <List<String>> foo(t: List<String>) {}, is trying to say the following:
All you're doing is replacing the nameis a method that - given some type namedfoo- performs an operation on a value of given typeX.X
X with the name List<String>. But that name is invalid for type identifiers in Kotlin.
That's the key, here. That's just a name, and it doesn't constrain the actual type of the function.