vitorossonero
06/26/2017, 10:46 AMinterface Action<T extends Throwable> {
void doSomething() throws T;
}
When I paste this converted snippet to try.kotlinlang.org
interface Action<T : Throwable> {
@Throws(T::class)
fun doSomething()
}
I see next error msg:
Can not use 'T' as reified type parameter. Use a class instead.