Files
kotlin-fork/compiler/visualizer/testData/rawBuilder/declarations/genericProperty.kt
T
Ivan Cilcic fe328f8c7a Add some additional information to psi renderer
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
2019-08-30 11:50:32 +03:00

9 lines
279 B
Kotlin
Vendored

// Nothing
// │ fun TODO(): Nothing
// │ │
fun <T> genericFoo(): T = TODO()
// T fun <T> genericFoo<T>(): T
// │ │
val <T> T.generic: T get() = genericFoo()