adambl4
05/10/2017, 1:21 PMNotImplementedError since 1.1.2. Is this somewhere documented?
test<Boolean>()
inline fun <reified T : Any> test() {
when(T::class) {
Boolean::class -> {}
else -> throw NotImplementedError()
}
}udalov