miha-x64
11/20/2017, 4:34 PMclass Wrapper<A, B : Something<A>> {
fun inPosition(a: B) {}
fun outPosition(): B = TODO() // needs to be ConcreteSomething in my case
}
interface Something<A>
class ConcreteSomething<A> : Something<A>
val a: Wrapper<*, ConcreteSomething<*>> = Wrapper<String, ConcreteSomething<String>>()