5d3fe7547a
For type parameters of generic properties, `DeclarationDescriptor#getContainingDeclaration` must return the property descriptor instead of the accessor function descriptor. ^KT-57436 Fixed
15 lines
260 B
Kotlin
Vendored
15 lines
260 B
Kotlin
Vendored
// FIR_IDENTICAL
|
|
|
|
// MUTE_SIGNATURE_COMPARISON_K2: JS_IR
|
|
// ^ KT-57818
|
|
|
|
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()
|