Files
kotlin-fork/compiler/testData/ir/irText/expressions/variableAsFunctionCallWithGenerics.kt
T
Sergej Jaskiewicz 02180e8685 Factor out duplicated mangling logic for functions into the base class
^KT-57777 Fixed
^KT-57818 Fixed
2023-05-26 10:55:24 +00:00

12 lines
206 B
Kotlin
Vendored

// FIR_IDENTICAL
val <T : CharSequence> T.gk: () -> T
get() = { -> this }
fun testGeneric1(x: String) = x.gk()
val <T> T.kt26531Val: () -> T
get() = fun () = this
fun kt26531() = 7.kt26531Val()