Files
kotlin-fork/compiler/testData/fir/resolve/genericFunctions.kt
T
2018-11-02 19:44:54 +03:00

7 lines
152 B
Kotlin
Vendored

interface Any
inline fun <reified T : Any> Any.safeAs(): T? = this as? T
abstract class Summator {
abstract fun <T> plus(first: T, second: T): T
}