This commit is contained in:
Igor Chevdar
2021-01-12 19:23:13 +05:00
committed by Nikolay Krasko
parent aed23ff098
commit 1222b72dcd
4 changed files with 45 additions and 20 deletions
@@ -1,7 +1,7 @@
import kotlin.reflect.*
@OptIn(kotlin.ExperimentalStdlibApi::class)
inline fun <reified T : Comparable<T>> foo() {
inline fun <T : Comparable<T>> foo() {
typeOf<List<T>>()
}