8832865e9a
We can avoid complex reanalyze-base logic and just directly drop outdated data from FileStructureCache ^KT-60611
14 lines
379 B
Kotlin
14 lines
379 B
Kotlin
inline fun <T, R> with(receiver: T, block: T.() -> R): R {/* DeclarationStructureElement */
|
|
return receiver.block()
|
|
}
|
|
|
|
inline fun <T, R> T.let(block: (T) -> R): R {/* DeclarationStructureElement */
|
|
return block(this)
|
|
}
|
|
|
|
class B {/* ClassDeclarationStructureElement */
|
|
fun foo(a: Int) = with(a) {
|
|
toString().let { it }
|
|
}/* DeclarationStructureElement */
|
|
}
|