fe328f8c7a
1) Trim unused spaces in annotations 2) Rewrote fq name rendering 3) Added annotations to for loop variable 4) Added type arguments render along to type parameters in functions
10 lines
252 B
Kotlin
Vendored
10 lines
252 B
Kotlin
Vendored
interface Any
|
|
|
|
// T?
|
|
// │
|
|
inline fun <reified T : Any> Any.safeAs(): T? = this as? T
|
|
|
|
abstract class Summator {
|
|
abstract fun <T> plus(first: T, second: T): T
|
|
}
|