Files
Anna Kozlova 7b86c6013e [kotlin] extract function as local: add filtering on resulting call expression
otherwise, when added before the call site, RangeMarker would include the newly extracted function. And if the resulted function contains call expressions, they would be preferred instead of the extracted call expression

^KTIJ-29862 fixed

GitOrigin-RevId: 5249b385ee27d3d46b70663416951788a998e6ad
2024-05-14 08:00:52 +00:00

3 lines
68 B
Kotlin

fun main() {
<selection>val a = "".takeIf { true }</selection>
}