I want to write an extension method on a generic type T, where the matched type constrains a method parameter.
I want this to compile:
\"Hello\".thin
As far as I know, this is not possible in Kotlin 1.0. There are several issues in the tracker (first, second) about a similar use case, and the solution proposed in the first one is likely going to help here in the future as well.